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

Disassembly:
push 0xffffffffffffffff
push 0x41deda
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
push edi
mov ecx, 0xd
mov esi, 0x404904
lea edi, [esp + 0x78]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xc
lea edi, [esp + 0xac]
xor ebp, ebp
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], ebp
mov byte [esp + 0x28], al
call fcn.0040cc10
mov edi, 0x401008
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x401008
lea ecx, [esp + 0x2c]
call fcn.0040cc60
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov dword [esp + 0xe8], ebp
call fcn.0040cc10
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 1
mov byte [esp + 0x38], dl
call fcn.0040cc10
lea eax, [esp + 0x78]
lea ecx, [esp + 0x48]
mov bl, 2
push eax
push ecx
mov byte [esp + 0xec], bl
call fcn.0040efd0
add esp, 8
mov edx, dword [0x407740]
lea ecx, [esp + 0x14]
push edx
push ebp
push eax
mov byte [esp + 0xf0], 3
call fcn.0040c540
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe8], bl
call fcn.0040cc10
cmp dword [esp + 0x1c], ebp
jbe 0x4102c0
lea eax, [esp + 0x14]
push eax
call fcn.0040ee00
mov ecx, dword [0x407740]
add esp, 4
push ecx
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.0040c540
mov edi, 0x404774
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 0x404774
lea ecx, [esp + 0x20]
call fcn.0040ca50
mov esi, eax
lea edx, [esp + 0x48]
push esi
push ebp
push edx
lea ecx, [esp + 0x20]
call fcn.0040c190
mov ecx, dword [0x407740]
mov byte [esp + 0xe4], 4
push ecx
push ebp
push eax
lea ecx, [esp + 0x40]
call fcn.0040c540
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe8], bl
call fcn.0040cc10
mov edi, 0x404900
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 0x404900
lea ecx, [esp + 0x40]
call fcn.0040c940
cmp eax, 0xffffffff
je 0x41020e
mov eax, dword [esp + 0x38]
cmp eax, ebp
jne 0x4101c6
mov eax, 0x407744
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x24]
push edx
push ebp
push eax
call fcn.0040c940
cmp eax, 0xffffffff
jne 0x41020e
mov eax, dword [0x407740]
lea ecx, [esp + 0x34]
push eax
push ebp
push ecx
lea ecx, [esp + 0x30]
call fcn.0040c3a0
mov edi, 0x4048fc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4048fc
lea ecx, [esp + 0x2c]
call fcn.0040c480
cmp esi, 0xffffffff
je 0x4102c0
mov edx, dword [0x407740]
inc esi
push edx
lea eax, [esp + 0x5c]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.0040c190
mov ecx, dword [0x407740]
mov byte [esp + 0xe4], 5
push ecx
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.0040c540
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe8], bl
call fcn.0040cc10
mov edi, 0x404774
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 0x404774
lea ecx, [esp + 0x20]
call fcn.004107b0
mov edx, dword [0x407740]
lea ecx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x70]
push eax
call fcn.0040c190
mov ecx, dword [0x407740]
mov byte [esp + 0xe4], 6
push ecx
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.0040c540
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xe8], bl
call fcn.0040cc10
jmp 0x410138
cmp dword [esp + 0x2c], ebp
jbe 0x410305
lea ecx, [esp + 0x24]
call fcn.0040cb90
mov eax, dword [esp + 0x28]
cmp eax, ebp
jne 0x4102db
xor eax, eax
jmp 0x4102e1
mov edx, dword [esp + 0x2c]
add eax, edx
lea ecx, [esp + 0x24]
lea esi, [eax - 1]
call fcn.0040cb90
cmp esi, ebp
jne 0x4102f5
xor esi, esi
jmp 0x4102f9
sub esi, dword [esp + 0x28]
push 1
push esi
lea ecx, [esp + 0x2c]
call fcn.0040c820
mov esi, dword [esp + 0xec]
mov al, byte [esp + 0x24]
push ebp
mov ecx, esi
mov byte [esi], al
call fcn.0040cc10
mov ecx, dword [0x407740]
lea edx, [esp + 0x24]
push ecx
push ebp
push edx
mov ecx, esi
call fcn.0040c540
mov ecx, dword [esp + 0x38]
cmp ecx, ebp
je 0x410352
mov al, byte [ecx - 1]
test al, al
je 0x410348
cmp al, 0xff
je 0x410348
dec al
mov byte [ecx - 1], al
jmp 0x410352
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ebp
cmp ecx, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
je 0x410382
mov al, byte [ecx - 1]
test al, al
je 0x410378
cmp al, 0xff
je 0x410378
dec al
mov byte [ecx - 1], al
jmp 0x410382
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ebp
cmp ecx, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
je 0x4103b2
mov al, byte [ecx - 1]
test al, al
je 0x4103a8
cmp al, 0xff
je 0x4103a8
dec al
mov byte [ecx - 1], al
jmp 0x4103b2
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0xdc]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret