Function at 0x4105e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43edca
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x44e664]
xor eax, esp
mov dword [esp + 0x958], eax
push ebx
push esi
push edi
mov eax, dword [0x44e664]
xor eax, esp
push eax
lea eax, [esp + 0x970]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x978], ebx
call fcn.00401fd0
call fcn.004246e0
push 0x3e8
lea eax, [esp + 0x198]
push ebx
push eax
mov dword [0x4512a8], 0x9c40
mov dword [0x4512b4], ebx
mov dword [0x4512a0], ebx
call fcn.0042a2b0
add esp, 0xc
lea edi, [esp + 0x4c]
call fcn.0041ed60
mov edi, 0x10
mov byte [esp + 0x978], 1
cmp dword [eax + 0x14], edi
jb 0x41068c
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x198]
push ecx
call dword [0x4514e0]
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], edi
jb 0x4106b5
mov edx, dword [esp + 0x4c]
push edx
call fcn.0042a28b
add esp, 4
lea esi, [esp + 0x4c]
call fcn.0041f880
mov byte [esp + 0x978], 2
cmp dword [eax + 0x14], edi
jb 0x4106cd
mov eax, dword [eax]
push eax
lea eax, [esp + 0x198]
push eax
call dword [0x4514e0]
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], edi
jb 0x4106f6
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0042a28b
add esp, 4
lea esi, [esp + 0x4c]
call fcn.0041f2c0
mov byte [esp + 0x978], 3
cmp dword [eax + 0x14], edi
jb 0x41070e
mov eax, dword [eax]
push eax
lea edx, [esp + 0x198]
push edx
call dword [0x4514e0]
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], edi
jb 0x410737
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042a28b
add esp, 4
lea ecx, [esp + 0x194]
push ecx
push ebx
mov edi, 0xf
push 0x1f0003
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call dword [0x451340]
mov dword [0x4512b0], eax
cmp eax, ebx
je 0x410794
push eax
call dword [0x451378]
push 0x1388
call dword [0x451350]
lea edx, [esp + 0x194]
push edx
push ebx
push 0x1f0003
call dword [0x451340]
mov dword [0x4512b0], eax
cmp eax, ebx
jne 0x410765
lea eax, [esp + 0x194]
push eax
push ebx
push ebx
push ebx
call dword [0x4514c8]
push 0x104
lea ecx, [esp + 0x90]
push ebx
push ecx
mov dword [0x4512b0], eax
call fcn.0042a2b0
add esp, 0xc
push 0x449980
lea edx, [esp + 0x90]
push edx
call dword [0x4514e0]
lea esi, [esp + 0x4c]
call fcn.0040af00
mov esi, 0x10
mov byte [esp + 0x978], 4
cmp dword [eax + 0x14], esi
jb 0x4107f0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x90]
push eax
call dword [0x4514e0]
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], esi
jb 0x410820
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0042a28b
add esp, 4
lea esp, [esp]
push 0x449a30
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
call fcn.0040af80
sub esp, 0x1c
mov byte [esp + 0x9b4], 6
mov esi, esp
mov dword [esp + 0x54], esp
call fcn.0040b040
lea esi, [esp + 0x88]
mov byte [esp + 0x9b4], 7
call fcn.0040b040
mov byte [esp + 0x9b4], 8
mov eax, dword [eax + 0x10]
inc eax
push eax
mov byte [esp + 0x9b8], 9
call fcn.0040ebb0
mov esi, 0x10
add esp, 0x40
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], esi
jb 0x410899
mov edx, dword [esp + 0x4c]
push edx
call fcn.0042a28b
add esp, 4
mov eax, dword [0x44f2cc]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [0x44f2e0], esi
jae 0x4108b7
mov eax, 0x44f2cc
push 0x44996c
push eax
call dword [0x451510]
test eax, eax
je 0x410932
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0xa8]
mov dword [esp + 0x30], esp
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov byte [esi], bl
call fcn.0042a410
add esp, 4
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.00405cc0
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x9b0], 0xa
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push 0x44f2cc
mov byte [ecx], bl
call fcn.00405dc0
mov byte [esp + 0x9b0], bl
call fcn.0040ed80
add esp, 0x38
mov esi, 0x10
mov eax, dword [0x44f2cc]
cmp dword [0x44f2e0], esi
jae 0x410944
mov eax, 0x44f2cc
push 0x44996c
push eax
call dword [0x451510]
test eax, eax
jne 0x410b19
push 0x449a30
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
call fcn.0040afc0
sub esp, 0x1c
mov byte [esp + 0x9b4], 0xc
mov esi, esp
mov dword [esp + 0x54], esp
call fcn.0040b040
lea esi, [esp + 0x88]
mov byte [esp + 0x9b4], 0xd
call fcn.0040b040
mov byte [esp + 0x9b4], 0xe
mov eax, dword [eax + 0x10]
inc eax
push eax
mov byte [esp + 0x9b8], 0xf
call fcn.0040ebb0
mov esi, 0x10
add esp, 0x40
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], esi
jb 0x4109d1
mov edx, dword [esp + 0x4c]
push edx
call fcn.0042a28b
add esp, 4
mov eax, dword [0x44f2cc]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [0x44f2e0], esi
jae 0x4109ef
mov eax, 0x44f2cc
push 0x44996c
push eax
call dword [0x451510]
test eax, eax
je 0x410a6a
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0xa8]
mov dword [esp + 0x30], esp
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov byte [esi], bl
call fcn.0042a410
add esp, 4
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.00405cc0
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x9b0], 0x10
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push 0x44f2cc
mov byte [ecx], bl
call fcn.00405dc0
mov byte [esp + 0x9b0], bl
call fcn.0040ed80
add esp, 0x38
mov esi, 0x10
mov eax, dword [0x44f2cc]
cmp dword [0x44f2e0], esi
jae 0x410a7c
mov eax, 0x44f2cc
push 0x44996c
push eax
call dword [0x451510]
test eax, eax
jne 0x410b19
sub esp, 0x1c
mov esi, esp
lea edx, [esp + 0xa8]
mov dword [esp + 0x30], esp
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push edx
mov byte [esi], bl
call fcn.0042a410
add esp, 4
push eax
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call fcn.00405cc0
sub esp, 0x1c
mov byte [esp + 0x9b0], 0x11
mov esi, esp
mov dword [esp + 0x50], esp
call fcn.0040b000
mov byte [esp + 0x9b0], bl
call fcn.0040ed80
mov eax, dword [0x44f2cc]
add esp, 0x38
cmp dword [0x44f2e0], 0x10
jae 0x410af9
mov eax, 0x44f2cc
push 0x44996c
push eax
call dword [0x451510]
test eax, eax
jne 0x410b19
push 0x1d4c0
call dword [0x451350]
jmp 0x410820
mov edi, 0x5f5e100
call fcn.00429570
push 0x3e8
lea ecx, [esp + 0x580]
push ebx
push ecx
mov dword [0x4512ac], eax
call fcn.0042a2b0
mov eax, dword [0x44f2cc]
add esp, 0xc
cmp dword [0x44f2e0], 0x10
jae 0x410b51
mov eax, 0x44f2cc
push eax
lea edx, [esp + 0x580]
push edx
call dword [0x4514e0]
push 0x449980
lea eax, [esp + 0x580]
push eax
call dword [0x4514e0]
push 0x4497cc
lea ecx, [esp + 0x580]
push ecx
call dword [0x4514e0]
lea ecx, [esp + 0x57c]
call fcn.00414600
push edx
push eax
call fcn.0040aad0
mov ecx, dword [0x451138]
push ebx
mov edi, 0x4475d7
mov dword [0x45129c], eax
call fcn.0040ef80
movzx ecx, byte [0x45169d]
add esp, 0xc
cmp byte [0x45169e], bl
push edx
movzx edx, byte [0x45169c]
mov byte [esp + 0x2e], cl
movzx ecx, byte [0x4516a0]
mov byte [esp + 0x2d], dl
movzx edx, byte [0x45169f]
mov byte [esp + 0x30], cl
mov ecx, dword [0x4512ac]
mov byte [esp + 0x2f], dl
movzx edx, byte [0x4516a1]
mov dword [esp + 0x4c], ecx
movzx ecx, byte [0x4516a2]
mov byte [esp + 0x31], dl
setne dl
mov byte [esp + 0x33], cl
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], 1
mov byte [esp + 0x36], dl
call fcn.0041c130
cmp byte [0x4516a0], bl
je 0x410c28
call fcn.00410490
cmp dword [0x4516a4], ebx
je 0x410c35
call fcn.0040c130
call fcn.0040f430
cmp byte [0x45169e], bl
je 0x410c4b
lea ecx, [esp + 0x68]
call fcn.00412570
call fcn.0040da30
cmp byte [0x4516a3], bl
je 0x410c5d
call fcn.004214e0
mov eax, dword [0x4512ac]
lea ebx, [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.00429700
mov edi, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x1c], esi
cmp edi, esi
je 0x410cd4
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push esi
push 0x40000001
push ebx
push edi
call dword [0x45131c]
test eax, eax
je 0x410cd4
mov eax, dword [esp + 0x1c]
push eax
push esi
call dword [0x45153c]
push eax
call dword [0x4514c4]
mov esi, eax
test esi, esi
je 0x410cd4
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push esi
call fcn.0042a2b0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push esi
push 0x40000001
push ebx
push edi
call dword [0x45131c]
mov eax, dword [esp + 0x1c]
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push 0x40e460
push 0
push 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
call dword [0x451518]
xor esi, esi
cmp dword [0x4516ac], esi
jne 0x410d40
cmp dword [0x4516b0], 0
jne 0x410d54
cmp esi, 0x3c
jne 0x410d2a
push 0
push 0
lea edx, [esp + 0x28]
push edx
push 0x40e460
push 0
push 0
call dword [0x451518]
xor esi, esi
push 0x3e8
call dword [0x451350]
inc esi
cmp dword [0x4516ac], 0
je 0x410d02
nop
push 0x3e8
call dword [0x451350]
cmp dword [0x4516b4], 0
je 0x410d40
push 4
push 0
push 0x4512ac
call fcn.0042a2b0
add esp, 0xc
push 4
push 0
push 0x4512b0
call fcn.0042a2b0
add esp, 0xc
call fcn.004212a0
cmp dword [esp + 0x7c], 0x10
jb 0x410d8f
mov eax, dword [esp + 0x68]
push eax
call fcn.0042a28b
add esp, 4
mov ecx, dword [esp + 0x970]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x958]
xor ecx, esp
call fcn.0042a296
mov esp, ebp
pop ebp
ret