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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4af5c8
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
lea edi, [esi + 0x4c]
cmp eax, ecx
jne 0x47f599
mov ebx, dword [esi + 0x44]
sub eax, ebx
mov ebx, 5
sar eax, 1
mov ebp, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x47f529
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi]
lea edx, [esp + 0x28]
mov dword [edi], eax
mov ecx, dword [ecx]
push ebx
push edx
call fcn.004146a0
mov eax, dword [esi]
mov dword [esp + 0x74], 0
mov eax, dword [eax + 8]
test eax, 0x40000
jne 0x47f578
push ebp
lea ecx, [esp + 0x2c]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.00474ae0
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 1
call fcn.00474cc0
lea ecx, [esp + 0x48]
call fcn.00474c70
push 1
lea ecx, [esp + 0x2c]
call fcn.00404f20
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov ecx, dword [esi + 4]
mov ax, word [eax]
push eax
mov ecx, dword [ecx]
call fcn.0047c440
and eax, 0xff
add eax, 0xffffffef
cmp eax, 0x27
ja case.0x47f5c0.29
xor edx, edx
mov dl, byte [eax + 0x47fe48]
jmp dword [edx*4 + 0x47fe14]
mov eax, 7
jmp 0x47fdfb
mov eax, 0x1b
jmp 0x47fdfb
mov eax, 0xc
jmp 0x47fdfb
mov eax, 0xa
jmp 0x47fdfb
mov eax, 0xd
jmp 0x47fdfb
mov eax, 9
jmp 0x47fdfb
mov eax, 0xb
jmp 0x47fdfb
mov eax, 8
jmp 0x47fdfb
mov edx, dword [edi]
mov ecx, dword [esi + 0x48]
add edx, 2
mov eax, edx
mov dword [edi], edx
cmp eax, ecx
jne 0x47f6b4
mov ebx, dword [esi + 0x44]
sub eax, ebx
mov ebx, 5
sar eax, 1
mov ebp, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x47f645
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi]
lea edx, [esp + 0x28]
mov dword [edi], eax
mov ecx, dword [ecx]
push ebx
push edx
call fcn.004146a0
mov eax, dword [esi]
mov dword [esp + 0x74], 2
test dword [eax + 8], 0x40000
jne 0x47f693
push ebp
lea ecx, [esp + 0x2c]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.00474ae0
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 3
call fcn.00474cc0
lea ecx, [esp + 0x48]
call fcn.00474c70
push 1
lea ecx, [esp + 0x2c]
call fcn.00404f20
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
xor edx, edx
mov dx, word [eax]
mov eax, edx
and eax, 0x8000001f
jns 0x47fdfb
dec eax
or eax, 0xffffffe0
inc eax
jmp 0x47fdfb
mov edx, dword [edi]
mov ecx, dword [esi + 0x48]
add edx, 2
mov eax, edx
mov dword [edi], edx
cmp eax, ecx
jne 0x47f76c
mov ebx, dword [esi + 0x44]
sub eax, ebx
mov ebx, 5
sar eax, 1
mov ebp, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x47f6fe
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi]
lea edx, [esp + 0x28]
mov dword [edi], eax
mov ecx, dword [ecx]
push ebx
push edx
call fcn.004146a0
mov eax, dword [esi]
mov dword [esp + 0x74], 4
test dword [eax + 8], 0x40000
jne 0x47f74b
push ebp
lea ecx, [esp + 0x2c]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.00474ae0
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], bl
call fcn.00474cc0
lea ecx, [esp + 0x48]
call fcn.00474c70
push 1
lea ecx, [esp + 0x2c]
call fcn.00404f20
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov ecx, dword [esi + 4]
mov ax, word [eax]
push eax
mov ecx, dword [ecx]
call fcn.00478690
cmp al, 0xf
jne 0x47f8fd
mov ebx, dword [edi]
mov ecx, dword [esi + 0x48]
add ebx, 2
mov eax, ebx
mov dword [edi], ebx
cmp eax, ecx
jne 0x47f81f
mov ebx, dword [esi + 0x44]
sub eax, ebx
mov ebx, 5
sar eax, 1
mov ebp, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x47f7b0
mov dword [eax + 0xc], ebx
mov edx, dword [esi + 0x48]
mov eax, dword [esi]
mov dword [edi], edx
lea edx, [esp + 0x28]
mov ecx, dword [eax]
push ebx
push edx
call fcn.004146a0
mov eax, dword [esi]
mov dword [esp + 0x74], 6
test dword [eax + 8], 0x40000
jne 0x47f7fe
push ebp
lea ecx, [esp + 0x2c]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.00474ae0
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 7
call fcn.00474cc0
lea ecx, [esp + 0x48]
call fcn.00474c70
push 1
lea ecx, [esp + 0x2c]
call fcn.00404f20
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov eax, dword [esi + 4]
push eax
push 0x10
push ecx
push edi
call fcn.00480620
mov ecx, dword [esi + 0x48]
mov ebx, eax
mov eax, dword [edi]
add esp, 0x10
cmp eax, ecx
je 0x47f873
test ebx, ebx
jl 0x47f873
cmp bx, 0xffff
ja 0x47f873
mov ecx, dword [esi + 4]
mov ax, word [eax]
push eax
mov ecx, dword [ecx]
call fcn.00478690
cmp al, 0x10
jne 0x47f873
mov eax, dword [edi]
add eax, 2
mov dword [edi], eax
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov ebx, dword [edi]
mov ebp, dword [esi + 0x44]
mov eax, dword [esi]
sub ebx, ebp
sar ebx, 1
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x47f88c
mov dword [eax + 0xc], 0xa
mov edx, dword [esi + 0x48]
mov eax, dword [esi]
mov dword [edi], edx
lea edx, [esp + 0x28]
mov ecx, dword [eax]
push 0xa
push edx
call fcn.004146a0
mov eax, dword [esi]
mov dword [esp + 0x74], 8
test dword [eax + 8], 0x40000
jne 0x47f8dc
push ebx
lea ecx, [esp + 0x2c]
push 0xa
push ecx
lea ecx, [esp + 0x54]
call fcn.00474ae0
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 9
call fcn.00474cc0
lea ecx, [esp + 0x48]
call fcn.00474c70
push 1
lea ecx, [esp + 0x2c]
call fcn.00404f20
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov ecx, dword [edi]
mov eax, dword [esi + 0x48]
sub eax, ecx
mov dword [esp + 0x14], 2
sar eax, 1
mov dword [esp + 0x10], eax
cmp eax, 2
lea eax, [esp + 0x10]
jl 0x47f91f
lea eax, [esp + 0x14]
mov eax, dword [eax]
lea eax, [ecx + eax*2]
mov ecx, dword [esi + 4]
push ecx
push 0x10
push eax
push edi
call fcn.00480620
add esp, 0x10
test eax, eax
jl 0x47f943
test eax, 0xffff0000
je 0x47fdfe
mov ebp, dword [edi]
mov ebx, dword [esi + 0x44]
mov eax, dword [esi]
sub ebp, ebx
sar ebp, 1
mov ecx, dword [eax + 0xc]
mov ebx, 5
test ecx, ecx
jne 0x47f95d
mov dword [eax + 0xc], ebx
mov edx, dword [esi + 0x48]
mov eax, dword [esi]
mov dword [edi], edx
lea edx, [esp + 0x28]
mov ecx, dword [eax]
push ebx
push edx
call fcn.004146a0
mov eax, dword [esi]
mov dword [esp + 0x74], 0xa
test dword [eax + 8], 0x40000
jne 0x47f9ab
push ebp
lea ecx, [esp + 0x2c]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.00474ae0
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0xb
call fcn.00474cc0
lea ecx, [esp + 0x48]
call fcn.00474c70
push 1
lea ecx, [esp + 0x2c]
call fcn.00404f20
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov eax, dword [esi + 0x48]
mov ecx, dword [edi]
sub eax, ecx
mov dword [esp + 0x14], 4
sar eax, 1
mov dword [esp + 0x10], eax
cmp eax, 4
lea eax, [esp + 0x14]
jg 0x47f9ee
lea eax, [esp + 0x10]
mov ebx, dword [eax]
mov dword [esp + 0x14], ecx
lea eax, [ecx + 2]
mov ecx, dword [esi + 4]
push ecx
push 8
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.00480620
add esp, 0x10
test eax, eax
je 0x47fa9c
mov ebp, dword [edi]
mov ebx, dword [esi + 0x44]
mov eax, dword [esi]
sub ebp, ebx
sar ebp, 1
mov ecx, dword [eax + 0xc]
mov ebx, 5
test ecx, ecx
jne 0x47fa2d
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi]
lea edx, [esp + 0x28]
mov dword [edi], eax
mov ecx, dword [ecx]
push ebx
push edx
call fcn.004146a0
mov eax, dword [esi]
mov dword [esp + 0x74], 0xc
test dword [eax + 8], 0x40000
jne 0x47fa7b
push ebp
lea ecx, [esp + 0x2c]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.00474ae0
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0xd
call fcn.00474cc0
lea ecx, [esp + 0x48]
call fcn.00474c70
push 1
lea ecx, [esp + 0x2c]
call fcn.00404f20
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov edx, dword [edi]
mov eax, dword [esi + 4]
push eax
push 8
lea ebx, [edx + ebx*2]
push ebx
push edi
call fcn.00480620
add esp, 0x10
test eax, eax
jge 0x47fdfe
mov ebp, dword [edi]
mov ebx, dword [esi + 0x44]
mov eax, dword [esi]
sub ebp, ebx
sar ebp, 1
mov ecx, dword [eax + 0xc]
mov ebx, 5
test ecx, ecx
jne 0x47fad3
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi]
lea edx, [esp + 0x28]
mov dword [edi], eax
mov ecx, dword [ecx]
push ebx
push edx
call fcn.004146a0
mov eax, dword [esi]
mov dword [esp + 0x74], 0xe
test dword [eax + 8], 0x40000
jne 0x47fb21
push ebp
lea ecx, [esp + 0x2c]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.00474ae0
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0xf
call fcn.00474cc0
lea ecx, [esp + 0x48]
call fcn.00474c70
push 1
lea ecx, [esp + 0x2c]
call fcn.00404f20
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov edx, dword [edi]
mov ecx, dword [esi + 0x48]
add edx, 2
mov eax, edx
mov dword [edi], edx
cmp eax, ecx
jne 0x47fbdf
mov ebx, dword [esi + 0x44]
sub eax, ebx
mov ebx, 5
sar eax, 1
mov ebp, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x47fb70
mov dword [eax + 0xc], ebx
mov edx, dword [esi + 0x48]
mov eax, dword [esi]
mov dword [edi], edx
lea edx, [esp + 0x28]
mov ecx, dword [eax]
push ebx
push edx
call fcn.004146a0
mov eax, dword [esi]
mov dword [esp + 0x74], 0x10
test dword [eax + 8], 0x40000
jne 0x47fbbe
push ebp
lea ecx, [esp + 0x2c]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.00474ae0
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0x11
call fcn.00474cc0
lea ecx, [esp + 0x48]
call fcn.00474c70
push 1
lea ecx, [esp + 0x2c]
call fcn.00404f20
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov ecx, dword [esi + 4]
mov ax, word [eax]
push eax
mov ecx, dword [ecx]
call fcn.00478690
cmp al, 0xf
jne 0x47fdcd
mov ebx, dword [edi]
mov eax, dword [esi + 0x48]
cmp ebx, eax
je 0x47fc22
mov edx, dword [edi]
mov ecx, dword [esi + 4]
mov ax, word [edx]
mov ecx, dword [ecx]
push eax
call fcn.00478690
cmp al, 0x10
je 0x47fc22
mov edx, dword [edi]
mov ecx, dword [esi + 0x48]
add edx, 2
mov eax, edx
mov dword [edi], edx
cmp eax, ecx
jne 0x47fbfe
mov eax, dword [edi]
mov ecx, dword [esi + 0x48]
cmp eax, ecx
jne 0x47fcb8
mov ebx, dword [esi + 0x44]
sub eax, ebx
mov ebx, 5
sar eax, 1
mov ebp, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x47fc49
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi]
lea edx, [esp + 0x28]
mov dword [edi], eax
mov ecx, dword [ecx]
push ebx
push edx
call fcn.004146a0
mov eax, dword [esi]
mov dword [esp + 0x74], 0x12
test dword [eax + 8], 0x40000
jne 0x47fc97
push ebp
lea ecx, [esp + 0x2c]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.00474ae0
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0x13
call fcn.00474cc0
lea ecx, [esp + 0x48]
call fcn.00474c70
push 1
lea ecx, [esp + 0x2c]
call fcn.00404f20
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov ecx, dword [esi + 4]
add ebx, 2
lea edx, [eax + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [edi], edx
call fcn.00480a60
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], 0x14
test eax, eax
jne 0x47fd75
mov ebx, dword [edi]
mov ebp, dword [esi + 0x44]
mov eax, dword [esi]
sub ebx, ebp
sar ebx, 1
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x47fcfc
mov dword [eax + 0xc], 3
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
lea eax, [esp + 0x38]
mov dword [edi], ecx
mov ecx, dword [edx]
push 3
push eax
call fcn.004146a0
mov ecx, dword [esi]
mov byte [esp + 0x74], 0x15
test dword [ecx + 8], 0x40000
jne 0x47fd49
push ebx
lea edx, [esp + 0x3c]
push 3
push edx
lea ecx, [esp + 0x54]
call fcn.00474ae0
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0x16
call fcn.00474cc0
lea ecx, [esp + 0x48]
call fcn.00474c70
push 1
lea ecx, [esp + 0x3c]
call fcn.00404f20
push 1
lea ecx, [esp + 0x1c]
call fcn.0040f620
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
cmp eax, 1
jne 0x47fdba
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47fd91
lea ecx, [esp + 0x18]
call fcn.00415830
mov eax, dword [esp + 0x1c]
jmp 0x47fd96
mov eax, 0x4b1a70
mov si, word [eax]
push 1
lea ecx, [esp + 0x1c]
call fcn.0040f620
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], 0xffffffff
call fcn.0040f620
mov eax, dword [edi]
mov edi, dword [esi + 0x44]
sub eax, edi
mov ecx, esi
sar eax, 1
push eax
push 5
call fcn.00477430
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
mov ecx, dword [edi]
mov ax, word [ecx]
add dword [edi], 2
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret