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

Disassembly:
push 0xffffffffffffffff
push 0x46580f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
mov al, byte [esp + 7]
push ebp
push esi
push edi
mov ebp, ecx
sub esp, 0x10
xor ebx, ebx
mov edx, esp
mov edi, 0x481e18
or ecx, 0xffffffff
mov dword [esp + 0x34], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x481e18
mov ecx, edx
call fcn.00413660
push ebx
lea ecx, [esp + 0x48]
call fcn.004478c0
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 2
push 0x476530
lea ecx, [esp + 0x24]
mov dword [esp + 0x188], ebx
stosb byte es:[edi], al
call fcn.0043f770
push 6
push 0x476528
lea ecx, [esp + 0x20]
mov byte [esp + 0x188], 1
call fcn.0043f770
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 2
call fcn.0043f6d0
mov byte [esp + 0x180], 3
push 0x1869f
lea ecx, [esp + 0x7c]
push 0x47599c
push ecx
call fcn.00458e0a
mov al, byte [esp + 0x1f]
push ecx
mov edx, esp
lea edi, [esp + 0x88]
or ecx, 0xffffffff
mov dword [esp + 0x34], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edx
call fcn.00413660
sub esp, 0x10
lea edx, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
push 0x475928
mov byte [esp + 0x1a8], 4
call fcn.00412fb0
sub esp, 0x10
lea eax, [esp + 0x5b]
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
push 0x475a1c
mov byte [esp + 0x1b8], 5
call fcn.00412fb0
sub esp, 0x10
lea edx, [esp + 0x73]
mov ecx, esp
mov dword [esp + 0x9c], esp
push edx
push 0x481e18
mov byte [esp + 0x1c8], 6
call fcn.00412fb0
sub esp, 0x10
mov byte [esp + 0x1d0], 7
mov esi, esp
mov dword [esp + 0x7c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x476520
call fcn.0043f770
push esi
call fcn.0044c070
sub esp, 8
mov byte [esp + 0x1e0], 8
mov esi, esp
mov dword [esp + 0x80], esp
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 6
push 0x476518
call fcn.0043f770
push esi
call fcn.0044c070
add esp, 8
lea eax, [esp + 0xc0]
mov byte [esp + 0x1e0], 3
push eax
mov ecx, 0x4824d0
call fcn.004485f0
mov edx, dword [0x46814c]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x38], cx
push ebx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x18c], 9
call fcn.00413240
mov eax, dword [esp + 0x68]
mov byte [esp + 0x180], 3
cmp eax, ebx
je 0x43a847
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x43a83e
cmp al, 0xff
je 0x43a83e
dec al
mov byte [ecx], al
jmp 0x43a847
push ecx
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.004440e0
cmp ax, 2
je 0x43aa13
lea ecx, [esp + 0x34]
call fcn.004440e0
cmp ax, 1
jne 0x43a6cd
lea eax, [esp + 0x48]
lea ecx, [esp + 0x34]
push eax
call fcn.00447a00
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x43a893
mov edi, 0x468288
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x4c]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x43a8d9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x43a8d0
cmp al, 0xff
je 0x43a8d0
dec al
mov byte [ecx], al
jmp 0x43a8d9
push ecx
call fcn.00458510
add esp, 4
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x4c], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x50], ebx
cmp ecx, 5
mov dword [esp + 0x54], ebx
je 0x43a940
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x190], 0xa
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x476510
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x190], 3
call fcn.004483e0
jmp 0x43a6cd
lea ecx, [esp + 0x78]
push ecx
call fcn.00458f5e
add esp, 4
mov esi, eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push 1
push edx
push eax
mov ecx, ebp
call fcn.0043bc90
movsx eax, ax
cmp eax, ebx
jge 0x43a9ca
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 2
call fcn.0043f810
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 1
call fcn.0043f810
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], bl
call fcn.0043f810
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x43ab84
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x43ab7b
cmp al, 0xff
je 0x43ab7b
dec al
mov byte [ecx], al
or ax, 0xffff
jmp 0x43abc8
jne 0x43aa70
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x190], 0xb
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x476508
call fcn.0043f770
mov ecx, 0x4824d0
mov byte [esp + 0x190], 3
call fcn.004483e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 2
call fcn.0043f810
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 1
call fcn.0043f810
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], bl
call fcn.0043f810
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x43abc4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x43abbb
cmp al, 0xff
je 0x43abbb
dec al
mov byte [ecx], al
jmp 0x43abc4
push 4
lea ecx, [esp + 0x18]
call fcn.0043f9e0
mov dl, al
push 3
lea ecx, [esp + 0x18]
mov byte [esp + 0x17], dl
call fcn.0043f9e0
mov cl, byte [esp + 0x13]
xor edx, edx
mov dh, al
push 5
mov dl, cl
lea ecx, [esp + 0x18]
shl edx, 8
mov dword [esp + 0x28], edx
call fcn.0043f9e0
mov edx, dword [esp + 0x24]
and eax, 0xff
or edx, eax
push 6
shl edx, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], edx
call fcn.0043f9e0
mov edx, dword [esp + 0x24]
and eax, 0xff
or edx, eax
lea ecx, [esp + 0x18]
add esi, edx
mov eax, esi
sar eax, 0x18
push eax
push 2
call fcn.0043f9f0
mov ecx, esi
sar ecx, 0x10
push ecx
push 3
lea ecx, [esp + 0x20]
call fcn.0043f9f0
mov edx, esi
lea ecx, [esp + 0x18]
sar edx, 8
push edx
push 4
call fcn.0043f9f0
push esi
push 5
lea ecx, [esp + 0x20]
call fcn.0043f9f0
lea eax, [esp + 0x14]
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.0043bc90
test ax, ax
jg 0x43ab8a
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 2
call fcn.0043f810
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 1
call fcn.0043f810
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], bl
call fcn.0043f810
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x43ab84
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x43ab7b
cmp al, 0xff
je 0x43ab7b
dec al
mov byte [ecx], al
or ax, 0xffff
jmp 0x43abc8
push ecx
call fcn.00458510
add esp, 4
or ax, 0xffff
jmp 0x43abc8
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x4755e4
call fcn.0043f770
push ecx
mov byte [esp + 0x190], 0xc
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x476500
jmp 0x43a9fc
push ecx
call fcn.00458510
add esp, 4
mov ax, 1
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x174
ret