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

Disassembly:
push 0xffffffffffffffff
push 0x57db8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, 0x596bf8
mov eax, dword [esi + 0xd48]
push edi
mov dword [esp + 0x30], esi
mov byte [esp + 0x16], bl
mov byte [esp + 0x15], bl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
mov byte [esp + 0x14], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], 0x596ce0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0xb4]
xor edi, edi
mov ecx, ebp
mov byte [esp + 0xa4], 6
mov eax, dword [ebp]
mov dword [esp + 0x38], edi
call dword [eax + 0x68]
test eax, eax
jbe 0x476a5c
jmp 0x476570
mov esi, dword [esp + 0x30]
mov edx, dword [ebp]
push ebx
push edi
mov ecx, ebp
call dword [edx + 0xac]
cmp al, 0xb
mov byte [esp + 0x54], al
je 0x476a47
mov eax, dword [esi]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
push esi
call dword [eax + 0x20]
cmp eax, ebx
jne 0x4765ae
mov edx, dword [ebp]
push 1
push edi
mov ecx, ebp
call dword [edx + 0xa8]
jmp 0x476a47
mov eax, dword [ebp]
push edi
mov ecx, ebp
call dword [eax + 0xb0]
mov edx, dword [ebp]
mov byte [esp + 0x34], al
lea eax, [esp + 0x58]
push edi
push eax
mov ecx, ebp
call dword [edx + 0x78]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 7
call fcn.00404a90
mov eax, dword [esp + 0x58]
mov byte [esp + 0xa4], 6
cmp eax, ebx
je 0x4765f8
push eax
lea ecx, [esp + 0x5c]
call fcn.00411610
mov cl, byte [esp + 0x54]
mov al, byte [esp + 0x16]
cmp al, cl
mov dword [esp + 0x58], ebx
jne 0x476636
mov dl, byte [esp + 0x15]
mov al, byte [esp + 0x34]
cmp dl, al
jne 0x476636
lea eax, [esp + 0x60]
lea ecx, [esp + 0x64]
neg eax
sbb eax, eax
push ebx
and eax, ecx
lea ecx, [esp + 0x44]
push eax
call fcn.004124b0
cmp eax, 3
je 0x476a47
mov al, byte [esp + 0x34]
cmp al, bl
je 0x476a29
cmp al, 0xff
je 0x476a29
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
and edx, 0xff
mov byte [esp + 0x13], bl
push edx
push esi
call fcn.00471140
mov eax, dword [ebp]
push edi
mov ecx, ebp
call dword [eax + 0x84]
mov esi, eax
lea ecx, [esp + 0x48]
cmp ecx, esi
je 0x476699
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call dword [edx + 0xc]
mov eax, dword [esi + 4]
mov dword [esp + 0x4c], eax
mov esi, dword [esi + 8]
cmp esi, ebx
mov dword [esp + 0x50], esi
je 0x476699
inc dword [esi + 8]
mov ecx, dword [esp + 0xb0]
xor edi, edi
cmp dword [ecx + 0xc], ebx
jbe 0x4769ce
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4766bd
push eax
lea ecx, [esp + 0x20]
call fcn.00411610
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x4766d2
mov ecx, dword [eax]
inc ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
cmp ecx, ebx
mov dword [esp + 0x20], edx
je 0x4766f0
push ecx
lea ecx, [esp + 0x2c]
call fcn.00411610
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x4766fa
inc dword [eax]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], eax
call fcn.00414a80
lea ecx, [esp + 0x28]
call fcn.004133e0
lea esi, [esp + 0x24]
lea ecx, [esp + 0x28]
neg esi
sbb esi, esi
push edi
and esi, ecx
mov ecx, dword [esp + 0xb4]
call fcn.0041d8d0
add eax, 8
push ebx
push esi
mov ecx, eax
call fcn.004124b0
cmp eax, 3
jne 0x4769b7
mov ebp, dword [esp + 0xb0]
push edi
mov ecx, ebp
call fcn.0041d8d0
xor edx, edx
push edi
mov dl, byte [eax + 4]
mov ecx, ebp
mov esi, edx
call fcn.0041d8d0
xor edx, edx
lea ecx, [esp + 0x70]
mov dl, byte [eax + 5]
lea eax, [esp + 0x6c]
neg eax
sbb eax, eax
lea ebp, [esp + 0x1c]
and eax, ecx
lea ecx, [esp + 0x18]
neg ecx
sbb ecx, ecx
push eax
and ecx, ebp
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0x1b]
mov ebp, dword [ebp]
push eax
push edx
lea edx, [esp + 0x54]
push esi
mov eax, ebp
mov ebp, dword [esp + 0x40]
push edx
push ecx
mov ecx, ebp
call dword [eax + 8]
cmp byte [esp + 0x17], bl
je 0x4769b0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x94]
push edx
push eax
call fcn.00414810
mov esi, eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, esi
mov byte [esp + 0xa4], 8
je 0x476803
cmp eax, ebx
je 0x4767e8
push eax
lea ecx, [esp + 0x20]
call fcn.00411610
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x4767fc
mov ecx, dword [eax]
inc ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 8]
mov dword [esp + 0x20], edx
lea esi, [esp + 0x90]
lea ecx, [esp + 0x94]
neg esi
sbb esi, esi
mov byte [esp + 0xa4], 6
and esi, ecx
mov ecx, dword [esi]
cmp ecx, ebx
je 0x476831
push ecx
mov ecx, esi
call fcn.00411610
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [esi], ebx
cmp ecx, ebx
je 0x476849
push ecx
lea ecx, [esp + 0x2c]
call fcn.00411610
mov eax, dword [esp + 0x1c]
mov ecx, eax
cmp eax, ebx
mov dword [esp + 0x28], ecx
je 0x47685c
mov ecx, dword [eax]
inc ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0xd48]
mov edx, dword [esp + 0x20]
cmp eax, 0x3e8
mov dword [esp + 0x2c], edx
jne 0x47694c
cmp ecx, ebx
je 0x47694c
mov eax, dword [ecx + 8]
cmp eax, ebx
je 0x47694c
dec eax
cmp eax, ebx
jbe 0x47694c
cmp byte [ecx + 0xc], 0x40
jne 0x47694c
push ebx
push 0x5c9364
lea ecx, [esp + 0x30]
call fcn.00412440
mov ebp, dword [esp + 0xac]
cmp eax, 3
jne 0x4768ef
lea esi, [ebp + 4]
push ebx
push 0x5ccd80
mov ecx, esi
call fcn.00412440
cmp eax, 3
je 0x47692a
push ebx
push 0x5ccd7c
mov ecx, esi
call fcn.00412440
cmp eax, 3
je 0x47692a
push ebx
push 0x5ccd78
mov ecx, esi
call fcn.00412440
cmp eax, 3
je 0x47692a
push ebx
push str._was
lea ecx, [esp + 0x30]
call fcn.00412440
cmp eax, 3
jne 0x476953
lea esi, [ebp + 4]
push ebx
push 0x5ccd6c
mov ecx, esi
call fcn.00412440
cmp eax, 3
je 0x47692a
push ebx
push str.WERE
mov ecx, esi
call fcn.00412440
cmp eax, 3
jne 0x476953
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x60], esp
push eax
call fcn.00413320
mov ecx, dword [esp + 0xbc]
call fcn.00414460
mov byte [esp + 0x13], 1
jmp 0x476953
mov ebp, dword [esp + 0xac]
lea ecx, [esp + 0x24]
call fcn.00414a80
lea ecx, [esp + 0x28]
call fcn.004133e0
cmp ebp, ebx
je 0x47696e
lea eax, [ebp + 4]
jmp 0x476970
xor eax, eax
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.004124b0
cmp eax, 3
jne 0x4769b0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
neg eax
sbb eax, eax
push ecx
and eax, ecx
mov ecx, esp
mov dword [esp + 0x60], esp
mov eax, dword [eax]
cmp eax, ebx
mov dword [ecx], eax
je 0x47699f
inc dword [eax]
mov ecx, dword [esp + 0xbc]
call fcn.00414460
mov byte [esp + 0x13], 1
mov ebp, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
inc edi
cmp edi, dword [edx + 0xc]
jb 0x4766ab
cmp byte [esp + 0x13], bl
jne 0x4769e6
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp]
push 1
push ecx
mov ecx, ebp
call dword [eax + 0xa8]
mov edi, dword [esp + 0x38]
jmp 0x476a47
mov al, byte [esp + 0x34]
mov dl, byte [esp + 0x54]
mov byte [esp + 0x15], al
mov eax, dword [esp + 0x64]
cmp eax, ebx
mov byte [esp + 0x14], 1
mov byte [esp + 0x16], dl
je 0x476a0d
push eax
lea ecx, [esp + 0x68]
call fcn.00411610
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov dword [esp + 0x64], eax
je 0x476a1b
inc dword [eax]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x68], ecx
jmp 0x476a47
mov edx, dword [ebp]
push edi
mov ecx, ebp
call dword [edx + 0xc8]
test al, al
jne 0x476a47
mov eax, dword [ebp]
push 1
push edi
mov ecx, ebp
call dword [eax + 0xa8]
mov edx, dword [ebp]
inc edi
mov ecx, ebp
mov dword [esp + 0x38], edi
call dword [edx + 0x68]
cmp edi, eax
jb 0x47656c
lea esi, [esp + 0x24]
lea eax, [esp + 0x28]
neg esi
sbb esi, esi
mov byte [esp + 0xa4], 5
and esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x476a80
push eax
mov ecx, esi
call fcn.00411610
lea ecx, [esp + 0x78]
mov dword [esi], ebx
mov byte [esp + 0xa4], 4
call fcn.0041d410
mov eax, dword [esp + 0x50]
mov byte [esp + 0xa4], 3
cmp eax, ebx
mov dword [esp + 0x48], 0x5968f0
je 0x476aca
mov ecx, dword [eax + 8]
dec ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 8], ebx
jne 0x476ac6
cmp ecx, ebx
je 0x476ac6
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esp + 0x50], ebx
lea esi, [esp + 0x6c]
lea eax, [esp + 0x70]
neg esi
sbb esi, esi
mov byte [esp + 0xa4], 2
and esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x476aee
push eax
mov ecx, esi
call fcn.00411610
mov dword [esi], ebx
lea esi, [esp + 0x18]
neg esi
sbb esi, esi
lea ecx, [esp + 0x1c]
and esi, ecx
mov byte [esp + 0xa4], 1
mov eax, dword [esi]
cmp eax, ebx
je 0x476b14
push eax
mov ecx, esi
call fcn.00411610
mov dword [esi], ebx
lea esi, [esp + 0x60]
neg esi
sbb esi, esi
lea edx, [esp + 0x64]
and esi, edx
mov byte [esp + 0xa4], bl
mov eax, dword [esi]
cmp eax, ebx
je 0x476b39
push eax
mov ecx, esi
call fcn.00411610
mov dword [esi], ebx
lea esi, [esp + 0x3c]
neg esi
sbb esi, esi
lea eax, [esp + 0x40]
and esi, eax
mov dword [esp + 0xa4], 0xffffffff
mov eax, dword [esi]
cmp eax, ebx
je 0x476b62
push eax
mov ecx, esi
call fcn.00411610
mov ecx, dword [esp + 0x9c]
mov al, byte [esp + 0x14]
mov dword [esi], ebx
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 0x10