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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x464ca2
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x794]
or ebp, 0xffffffff
test eax, eax
push edi
mov ebx, 2
je 0x404bad
cmp eax, ebx
je 0x404bad
cmp eax, 3
jne 0x404a5f
push esi
call fcn.00418620
add esp, 4
test eax, eax
je 0x40479e
mov eax, dword [esi + 0x7bc]
mov ecx, dword [esi + 0x7c0]
mov dword [esi + 0x7b4], eax
mov dword [esi + 0x7b8], ecx
jmp 0x4047d4
mov eax, 0x80
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x570]
push edx
push eax
push esi
call fcn.004185c0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esi + 0x7b4], ecx
mov dword [esi + 0x7b8], edx
mov eax, dword [esi + 0xb9c]
test eax, eax
jne 0x404924
mov eax, dword [esi + 0x7b8]
mov ecx, dword [esi + 0x7b4]
push eax
push ecx
call fcn.00428cf0
push 0x8c
mov edi, eax
call fcn.00444aad
add esp, 0xc
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x24], ebx
je 0x404839
mov edx, dword [esi + 0x25c]
mov ecx, dword [edx + 0x64]
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, ebx
or ecx, 0x40
push ecx
push 0
push edi
push 0x466aa4
mov ecx, eax
call fcn.00433dc0
mov edi, eax
jmp 0x40483b
xor edi, edi
mov ecx, dword [esi + 0x25c]
mov eax, dword [ecx + 0x5c]
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x4048d4
cmp eax, 0xfffffffd
jne 0x4048b8
mov eax, dword [ecx + 0x60]
cdq
and edx, 0xff
add eax, edx
mov ecx, eax
sar ecx, 8
imul ecx, ecx, 0xff
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x44], eax
mov ecx, dword [esi + 0x25c]
mov ecx, dword [ecx + 0x60]
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
shl eax, 8
sub ecx, eax
imul ecx, ecx, 0xff
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x48], eax
jmp 0x4048d4
imul eax, eax, 0xff
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [edi + 0x44], ecx
mov eax, dword [esi + 0x7f0]
test eax, eax
je 0x4048ed
cmp dword [esi + 0x794], ebx
jne 0x4048ed
mov eax, 1
jmp 0x404909
mov eax, dword [esi + 0x7ec]
cmp eax, 0xfffffffd
jne 0x4048fc
mov eax, ebx
jmp 0x404909
test eax, eax
je 0x404909
xor edx, edx
cmp eax, ebp
sete dl
mov eax, edx
push eax
mov ecx, edi
call fcn.00435190
mov ecx, dword [esi + 0xb94]
push 1
push edi
call fcn.00432ba0
jmp 0x404f13
push 0x78
call fcn.00444aad
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x24], 3
je 0x40494e
push 0x466aa4
mov ecx, eax
call fcn.00434710
mov edi, eax
jmp 0x404950
xor edi, edi
mov eax, dword [esi + 0x7b8]
mov ecx, dword [esi + 0x7b4]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x2c], ebp
call fcn.00435170
mov eax, dword [esi + 0x7f0]
test eax, eax
je 0x404982
cmp dword [esi + 0x794], ebx
jne 0x404982
mov eax, 1
jmp 0x40499e
mov eax, dword [esi + 0x7ec]
cmp eax, 0xfffffffd
jne 0x404991
mov eax, ebx
jmp 0x40499e
test eax, eax
je 0x40499e
xor edx, edx
cmp eax, ebp
sete dl
mov eax, edx
push eax
mov ecx, edi
call fcn.00435190
mov ecx, dword [esi + 0x25c]
mov eax, dword [ecx + 0x5c]
cmp eax, ebp
je 0x404a4c
cmp eax, 0xfffffffd
jne 0x404a30
mov eax, dword [ecx + 0x60]
cdq
and edx, 0xff
add eax, edx
mov ecx, eax
sar ecx, 8
imul ecx, ecx, 0xff
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x44], eax
mov ecx, dword [esi + 0x25c]
mov ecx, dword [ecx + 0x60]
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
shl eax, 8
sub ecx, eax
imul ecx, ecx, 0xff
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push 1
mov dword [edi + 0x48], eax
mov ecx, dword [esi + 0xb94]
push edi
call fcn.00432ba0
jmp 0x404f13
imul eax, eax, 0xff
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [edi + 0x44], ecx
mov ecx, dword [esi + 0xb94]
push 1
push edi
call fcn.00432ba0
jmp 0x404f13
cmp eax, 1
jne 0x404f13
mov eax, dword [esi + 0x260]
xor ebp, ebp
test eax, eax
jle 0x404f13
xor ebx, ebx
lea ebx, [ebx]
mov edx, dword [esi + 0x25c]
mov eax, dword [ebx + edx + 0x54]
test eax, eax
jle 0x404b93
mov eax, dword [esi + 0x7fc]
test eax, eax
jne 0x404ace
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebp
push esi
mov dword [esi + 0x7fc], 1
call fcn.004199a0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esi + 0x7b4], edx
mov dword [esi + 0x7b8], eax
mov ecx, dword [esi + 0x7b8]
mov edx, dword [esi + 0x7b4]
push ecx
push edx
call fcn.00420e40
push 0x8c
mov edi, eax
call fcn.00444aad
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x24], 4
je 0x404b29
mov ecx, dword [esi + 0x25c]
lea edx, [ebx + ecx]
mov ecx, dword [edx + 0x64]
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 2
or ecx, 0x40
push ecx
push 0
push edi
push edx
mov ecx, eax
call fcn.00433dc0
mov edi, eax
jmp 0x404b2b
xor edi, edi
mov edx, dword [esp + 0x30]
push edx
push 0
push edi
push ebp
push esi
mov dword [esp + 0x38], 0xffffffff
call fcn.004020a0
mov eax, dword [esi + 0x7f0]
add esp, 0x14
test eax, eax
je 0x404b5f
cmp dword [esi + 0x794], 2
jne 0x404b5f
mov eax, 1
jmp 0x404b7f
mov eax, dword [esi + 0x7ec]
cmp eax, 0xfffffffd
jne 0x404b71
mov eax, 2
jmp 0x404b7f
test eax, eax
je 0x404b7f
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov eax, ecx
push eax
mov ecx, edi
call fcn.00435190
mov ecx, dword [esi + 0xb94]
push edi
call fcn.00433600
mov eax, dword [esi + 0x260]
inc ebp
add ebx, 0x12c
cmp ebp, eax
jl 0x404a80
jmp 0x404f13
mov eax, dword [esi + 0x260]
xor ebp, ebp
test eax, eax
jle 0x404bdb
mov eax, dword [esi + 0x25c]
add eax, 0x54
cmp dword [eax], 0
jg 0x404ca1
mov ecx, dword [esi + 0x260]
inc ebp
add eax, 0x12c
cmp ebp, ecx
jl 0x404bc2
push 0x78
call fcn.00444aad
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x404c05
push 0x466a90
mov ecx, eax
call fcn.00434710
mov ebx, eax
jmp 0x404c07
xor ebx, ebx
mov eax, dword [esi + 0x7f0]
test eax, eax
mov dword [esp + 0x24], 0xffffffff
je 0x404c29
cmp dword [esi + 0x794], 2
jne 0x404c29
mov eax, 1
jmp 0x404c49
mov eax, dword [esi + 0x7ec]
cmp eax, 0xfffffffd
jne 0x404c3b
mov eax, 2
jmp 0x404c49
test eax, eax
je 0x404c49
xor edx, edx
cmp eax, 0xffffffff
sete dl
mov eax, edx
push eax
mov ecx, ebx
call fcn.00435190
mov ecx, dword [esi + 0x794]
xor edi, edi
xor eax, eax
test ecx, ecx
jne 0x404c85
push esi
call fcn.004089c0
mov edi, eax
add esp, 4
test edi, edi
jne 0x404c73
mov edi, 1
push esi
call fcn.00408a20
add esp, 4
test eax, eax
jne 0x404c85
mov eax, 1
push eax
push edi
mov ecx, ebx
call fcn.00435170
mov ecx, dword [esi + 0xb94]
push 1
push ebx
call fcn.00432ba0
mov ebx, 2
mov eax, dword [esp + 0x34]
test eax, eax
je 0x404ccf
mov eax, dword [esi + 0x260]
test eax, eax
je 0x404e41
mov eax, dword [esi + 0x25c]
imul ebp, ebp, 0x12c
mov ecx, dword [eax + ebp + 0x40]
test ecx, ecx
je 0x404e41
mov eax, dword [0x47715c]
test eax, eax
je 0x404e41
mov al, byte [esi + 0x200]
cmp al, 0x21
je 0x404e41
cmp al, 0x20
je 0x404e41
cmp dword [esi + 0x7e0], 0x1e
jne 0x404d04
mov eax, dword [0x47c364]
test eax, eax
jne 0x404d12
mov eax, dword [esi + 0x208]
test eax, eax
je 0x404e41
cmp word [esi + 0x808], 0
jne 0x404e41
mov eax, dword [esi + 0xbc8]
test eax, eax
jne 0x404e41
mov eax, dword [esi + 0xbcc]
test eax, eax
jne 0x404e41
mov eax, dword [esi + 0x794]
cmp eax, ebx
je 0x404d87
mov edx, dword [esi + 0x7bc]
mov ecx, 0x186a0
cmp edx, ecx
jge 0x404e41
cmp dword [esi + 0x7c0], ecx
jge 0x404e41
cmp eax, ebx
je 0x404d87
mov ecx, dword [esi + 0xb94]
mov edx, dword [esi + 0x7bc]
mov dword [ecx + 0x28], edx
mov eax, dword [esi + 0xb94]
mov ecx, dword [esi + 0x7c0]
mov dword [eax + 0x2c], ecx
mov eax, dword [esi + 0x260]
xor ebp, ebp
test eax, eax
jle 0x404f13
xor ebx, ebx
lea esp, [esp]
mov edx, dword [esi + 0x25c]
mov eax, dword [ebx + edx + 0x54]
test eax, eax
jle 0x404e27
push 0x78
call fcn.00444aad
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x24], 1
je 0x404ddc
mov ecx, dword [esi + 0x25c]
add ecx, ebx
push ecx
mov ecx, eax
call fcn.00434710
mov edi, eax
jmp 0x404dde
xor edi, edi
mov eax, dword [esi + 0xb94]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
push edx
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.00435170
or ecx, 0xffffffff
mov eax, esi
call fcn.00402600
push eax
mov ecx, edi
call fcn.00435190
mov ecx, dword [esi + 0xb94]
push edi
call fcn.00433600
mov ecx, dword [esi + 0x25c]
mov dword [ebx + ecx + 0x40], 1
mov eax, dword [esi + 0x260]
inc ebp
add ebx, 0x12c
cmp ebp, eax
jl 0x404da0
jmp 0x404f13
mov eax, dword [esi + 0x260]
xor ebx, ebx
cmp eax, ebx
jle 0x404f13
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
lea esp, [esp]
mov edx, dword [esi + 0x25c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + edx + 0x54]
test ecx, ecx
jle 0x404ef6
mov eax, dword [esi + 0x794]
test eax, eax
push ebp
push ebx
push esi
jne 0x404e8a
call fcn.00402c10
jmp 0x404e8f
call fcn.00402670
mov ecx, dword [esi + 0xb94]
add esp, 0xc
mov edi, eax
push edi
call fcn.00433600
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0xb94]
test ecx, ecx
mov ecx, 1
je 0x404ed9
cmp dword [edi + 0x4c], ecx
jne 0x404ed9
cmp dword [eax + 8], 0x10110
jne 0x404ed9
mov eax, dword [edi + 0x10]
cmp eax, ecx
je 0x404ecc
cmp eax, 4
jne 0x404ed9
mov ecx, dword [edi + 0x78]
call fcn.00428450
mov ecx, 1
cmp dword [edi + 0x4c], ecx
jne 0x404ef6
mov edx, dword [edi + 0x78]
mov eax, dword [edx + 0x3c]
test eax, eax
je 0x404ef6
cmp dword [esi + 0x20c], ecx
je 0x404ef6
mov dword [esi + 0x20c], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x260]
inc ebx
add ecx, 0x12c
cmp ebx, eax
mov dword [esp + 0x2c], ecx
jl 0x404e60
mov eax, dword [esi + 0x260]
xor ebx, ebx
test eax, eax
jle 0x404f8d
xor edi, edi
mov ebp, 5
jmp 0x404f30
mov eax, dword [esi + 0x25c]
mov ecx, dword [edi + eax + 0x54]
test ecx, ecx
jne 0x404f7c
push 0x10
call fcn.00444aad
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x24], ebp
je 0x404f66
mov ecx, dword [esi + 0x25c]
add ecx, edi
push ecx
mov ecx, eax
call fcn.00433940
jmp 0x404f68
xor eax, eax
mov ecx, dword [esi + 0xb94]
push eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00433600
mov eax, dword [esi + 0x260]
inc ebx
add edi, 0x12c
cmp ebx, eax
jl 0x404f30
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret