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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x78079d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x220]
mov edi, dword [eax + 0x3178]
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x58], esi
call fcn.00430aa0
or ecx, 0xffffffff
lea eax, [esp + 0x38]
call fcn.00434820
mov ecx, esi
call fcn.00430c20
mov ecx, dword [0x88224c]
mov eax, esi
call fcn.00430c10
push 7
xor ebx, ebx
push 0x80b168
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004016e0
mov ecx, 0x404000
lea eax, [esp + 0x38]
mov dword [esp + 0xd8], ebx
call fcn.00434820
push eax
mov eax, esi
call fcn.00430c00
lea ecx, [esp + 0x20]
mov ebx, eax
call fcn.0058a060
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x713246
mov ecx, dword [esp + 0x20]
push ecx
call fcn.006441c7
add esp, 4
push 4
xor ebx, ebx
push 0x80b170
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004016e0
push ebx
push ebx
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x40]
mov dword [esp + 0xe0], 1
call fcn.004348b0
push eax
mov eax, esi
call fcn.00430c00
lea ecx, [esp + 0x20]
mov ebx, eax
call fcn.0058a060
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x7132b4
mov edx, dword [esp + 0x20]
push edx
call fcn.006441c7
add esp, 4
mov ecx, 0xffcb58
lea eax, [esp + 0x38]
call fcn.00434820
mov ecx, esi
call fcn.00430c20
mov eax, dword [0x88b12c]
mov ecx, dword [eax + 0x9e0]
mov edx, ecx
imul ecx, ecx, 0x221
imul edx, edx, 0x1c2
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov eax, esi
call fcn.004329c0
push 4
xor edx, edx
push str._s_m
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], dx
call fcn.00403a80
lea ecx, [edi + 0x518]
mov dword [esp + 0xd8], 2
call fcn.00436230
xor eax, eax
cmp byte [edi + 0x647], al
setne al
inc eax
imul eax, dword [edi + 0x4fc]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmulp st(1)
fadd qword [edi + 0x4f0]
call fcn.0076f850
lea ecx, [eax + eax*4]
add ecx, ecx
lea esi, [esp + 0x58]
call fcn.00439440
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 3
mov eax, dword [0x88b148]
push ecx
push 0xd0
add eax, 0x7ec
lea esi, [esp + 0x7c]
call fcn.004711e0
mov ecx, dword [esp + 0x14]
mov ebx, 8
mov byte [esp + 0xd8], 4
cmp dword [ecx + 0x18], ebx
jb 0x7133c4
mov ecx, dword [ecx + 4]
jmp 0x7133c7
add ecx, 4
cmp dword [eax + 0x18], ebx
jb 0x7133d1
mov eax, dword [eax + 4]
jmp 0x7133d4
add eax, 4
push ecx
push eax
lea esi, [esp + 0x40]
call fcn.00439a90
add esp, 8
mov esi, eax
mov byte [esp + 0xd8], 5
mov edx, dword [0x88b12c]
mov ecx, dword [edx + 0x9e0]
imul ecx, ecx, 0xdc
push 0xffffffffffffffff
mov eax, 0x1b4e81b5
imul ecx
mov ecx, dword [esp + 0x58]
push 0xffffffffffffffff
push 0
push 1
push 1
sar edx, 7
push 0xffffffffffffffff
mov eax, edx
shr eax, 0x1f
push 0
add eax, edx
push eax
push esi
call fcn.004335e0
cmp dword [esp + 0x50], ebx
jb 0x71343b
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], dx
cmp dword [esp + 0x8c], ebx
jb 0x713469
mov eax, dword [esp + 0x78]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], 0
mov word [esp + 0x78], cx
cmp dword [esp + 0x70], ebx
jb 0x713495
mov edx, dword [esp + 0x5c]
push edx
call fcn.006441c7
add esp, 4
xor eax, eax
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
cmp dword [esp + 0x34], ebx
jb 0x7134c6
mov ecx, dword [esp + 0x20]
push ecx
call fcn.006441c7
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x2d8]
xor ecx, ecx
push esi
mov word [esp + 0x24], cx
push 0x80b184
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 0
call fcn.00403a80
lea edx, [esp + 0x1c]
mov dword [esp + 0xd8], 6
mov eax, dword [0x88b148]
push edx
push 0xd1
add eax, 0x7ec
lea esi, [esp + 0x7c]
call fcn.004711e0
mov byte [esp + 0xd8], 7
cmp dword [eax + 0x18], ebx
jb 0x713530
mov esi, dword [eax + 4]
jmp 0x713533
lea esi, [eax + 4]
mov ecx, dword [esp + 0x14]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
shl edx, 4
sub edx, eax
add edx, edx
add edx, edx
sub ecx, edx
push ecx
push eax
push esi
lea esi, [esp + 0x64]
call fcn.00439a90
add esp, 0xc
mov byte [esp + 0xd8], bl
cmp dword [eax + 0x18], ebx
jb 0x713577
mov ecx, dword [eax + 4]
jmp 0x71357a
lea ecx, [eax + 4]
xor eax, eax
mov word [esp + 0x3c], ax
mov eax, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x713596
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00403a80
mov byte [esp + 0xd8], 9
mov ecx, dword [0x88b12c]
mov ecx, dword [ecx + 0x9e0]
lea edx, [ecx + ecx*2]
imul ecx, ecx, 0xdc
shl edx, 4
mov eax, 0x1b4e81b5
imul edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
sar edx, 7
push 1
mov eax, edx
push 1
shr eax, 0x1f
add eax, edx
push 0xffffffffffffffff
push eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x58]
push edx
call fcn.004335e0
cmp dword [esp + 0x50], ebx
jb 0x713621
mov eax, dword [esp + 0x3c]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
cmp dword [esp + 0x70], ebx
jb 0x71364c
mov edx, dword [esp + 0x5c]
push edx
call fcn.006441c7
add esp, 4
xor eax, eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
cmp dword [esp + 0x8c], ebx
jb 0x713675
mov ecx, dword [esp + 0x78]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], 0
mov word [esp + 0x78], dx
cmp dword [esp + 0x34], ebx
jb 0x7136ac
mov eax, dword [esp + 0x20]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
push 3
mov word [esp + 0x24], cx
push 0x80b194
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 0
call fcn.00403a80
mov edx, dword [esp + 0x18]
mov dword [esp + 0xd8], 0xa
mov ecx, dword [edx + 0x33c]
lea esi, [esp + 0x38]
call fcn.00439440
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xdc], 0xb
mov eax, dword [0x88b148]
push 0xd2
add eax, 0x7ec
lea esi, [esp + 0x7c]
call fcn.004711e0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xd8], 0xc
cmp dword [ecx + 0x18], ebx
jb 0x71372c
mov ecx, dword [ecx + 4]
jmp 0x71372f
add ecx, 4
cmp dword [eax + 0x18], ebx
jb 0x713739
mov eax, dword [eax + 4]
jmp 0x71373c
add eax, 4
push ecx
push eax
lea esi, [esp + 0x60]
call fcn.00439a90
add esp, 8
mov esi, eax
mov byte [esp + 0xd8], 0xd
mov ecx, dword [0x88b12c]
mov ecx, dword [ecx + 0x9e0]
lea edx, [ecx + ecx*2]
imul ecx, ecx, 0xdc
shl edx, 4
mov eax, 0x1b4e81b5
imul edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
sar edx, 7
push 1
mov eax, edx
shr eax, 0x1f
push 1
add eax, edx
push 0xffffffffffffffff
add eax, eax
push eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, dword [esp + 0x74]
push esi
call fcn.004335e0
cmp dword [esp + 0x70], ebx
jb 0x7137bb
mov edx, dword [esp + 0x5c]
push edx
call fcn.006441c7
add esp, 4
xor esi, esi
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], esi
mov word [esp + 0x5c], ax
cmp dword [esp + 0x8c], ebx
jb 0x7137e6
mov ecx, dword [esp + 0x78]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], esi
mov word [esp + 0x78], dx
cmp dword [esp + 0x50], ebx
jb 0x713812
mov eax, dword [esp + 0x3c]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], cx
cmp dword [esp + 0x34], ebx
jb 0x713843
mov edx, dword [esp + 0x20]
push edx
call fcn.006441c7
add esp, 4
push 0xc
xor eax, eax
push str.No_Treasures
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], esi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], esi
mov word [esp + 0x44], ax
call fcn.00403a80
lea ecx, [esp + 0x38]
mov dword [esp + 0xd8], 0xe
mov eax, dword [0x88b148]
push ecx
push 0xd3
add eax, 0x7ec
lea esi, [esp + 0xb4]
call fcn.004711e0
mov byte [esp + 0xd8], 0x10
cmp dword [esp + 0x50], ebx
jb 0x7138b0
mov edx, dword [esp + 0x3c]
push edx
call fcn.006441c7
add esp, 4
mov ecx, dword [edi + 0x1c0]
sub ecx, dword [edi + 0x1bc]
xor esi, esi
xor eax, eax
sar ecx, 2
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], ax
mov dword [esp + 0x14], esi
test ecx, ecx
jbe 0x713998
jmp 0x7138f4
mov esi, dword [esp + 0x14]
mov edx, dword [edi + 0x1c0]
sub edx, dword [edi + 0x1bc]
sar edx, 2
cmp esi, edx
jb 0x71390c
call fcn.006441b7
mov eax, dword [edi + 0x1bc]
mov ecx, dword [edi + 0x120]
sub ecx, dword [edi + 0x11c]
lea eax, [eax + esi*4]
mov esi, dword [eax]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x71393d
call fcn.006441b7
mov edx, dword [edi + 0x3b4]
imul esi, esi, 0x64
add esi, dword [edi + 0x11c]
imul edx, dword [esi + 0x3c]
cmp edx, dword [esp + 0x18]
jl 0x713978
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x1c]
push eax
lea ecx, [esp + 0xb8]
call fcn.00401880
mov eax, dword [edi + 0x3b4]
imul eax, dword [esi + 0x3c]
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x1c0]
sub ecx, dword [edi + 0x1bc]
mov eax, dword [esp + 0x14]
inc eax
sar ecx, 2
mov dword [esp + 0x14], eax
cmp eax, ecx
jb 0x7138f0
push 3
xor edx, edx
push 0x80b1b8
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], dx
call fcn.00403a80
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x90]
mov byte [esp + 0xd8], 0x11
call fcn.00439440
mov edi, eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xdc], 0x12
mov eax, dword [0x88b148]
push 0xd4
add eax, 0x7ec
lea esi, [esp + 0x7c]
call fcn.004711e0
mov byte [esp + 0xd8], 0x13
cmp dword [edi + 0x18], ebx
jb 0x713a10
mov edi, dword [edi + 4]
jmp 0x713a13
add edi, 4
cmp dword [eax + 0x18], ebx
jb 0x713a1d
mov eax, dword [eax + 4]
jmp 0x713a20
add eax, 4
push edi
push eax
lea esi, [esp + 0x60]
call fcn.00439a90
add esp, 8
mov esi, eax
mov byte [esp + 0xd8], 0x14
mov ecx, dword [0x88b12c]
mov ecx, dword [ecx + 0x9e0]
lea edx, [ecx + ecx*2]
imul ecx, ecx, 0xdc
shl edx, 4
mov eax, 0x1b4e81b5
imul edx
push 0xffffffffffffffff
push 0xffffffffffffffff
sar edx, 7
push 0
mov eax, edx
shr eax, 0x1f
mov edi, dword [esp + 0x60]
push 1
add eax, edx
push 1
lea edx, [eax + eax*2]
push 0xffffffffffffffff
push edx
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
mov ecx, edi
call fcn.004335e0
cmp dword [esp + 0x70], ebx
jb 0x713aa2
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], dx
cmp dword [esp + 0x8c], ebx
jb 0x713ad0
mov eax, dword [esp + 0x78]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], 0
mov word [esp + 0x78], cx
cmp dword [esp + 0xa8], ebx
jb 0x713b02
mov edx, dword [esp + 0x94]
push edx
call fcn.006441c7
add esp, 4
xor eax, eax
mov byte [esp + 0xd8], 0x10
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
cmp dword [esp + 0x34], ebx
jb 0x713b39
mov ecx, dword [esp + 0x20]
push ecx
call fcn.006441c7
add esp, 4
push 4
xor edx, edx
push str.__s_
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 0
mov word [esp + 0x28], dx
call fcn.00403a80
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xdc], 0x15
mov eax, dword [0x88b148]
push 0xd5
add eax, 0x7ec
lea esi, [esp + 0x7c]
call fcn.004711e0
mov byte [esp + 0xd8], 0x16
mov ecx, dword [esp + 0xb0]
cmp dword [esp + 0xc4], ebx
jae 0x713ba0
lea ecx, [esp + 0xb0]
cmp dword [eax + 0x18], ebx
jb 0x713baa
mov eax, dword [eax + 4]
jmp 0x713bad
add eax, 4
push ecx
push eax
lea esi, [esp + 0x60]
call fcn.00439a90
add esp, 8
mov esi, eax
mov byte [esp + 0xd8], 0x17
mov ecx, dword [0x88b12c]
mov ecx, dword [ecx + 0x9e0]
lea edx, [ecx + ecx*2]
imul ecx, ecx, 0xffffffd8
shl edx, 4
mov eax, 0x1b4e81b5
imul edx
push 0xffffffffffffffff
push 0xffffffffffffffff
sar edx, 7
push 0
mov eax, edx
shr eax, 0x1f
push 1
add eax, edx
push 0
add eax, eax
push 0xffffffffffffffff
add eax, eax
push eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
mov ecx, edi
call fcn.004335e0
cmp dword [esp + 0x70], ebx
jb 0x713c29
mov edx, dword [esp + 0x5c]
push edx
call fcn.006441c7
add esp, 4
xor esi, esi
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], esi
mov word [esp + 0x5c], ax
cmp dword [esp + 0x8c], ebx
jb 0x713c54
mov ecx, dword [esp + 0x78]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
mov byte [esp + 0xd8], 0x10
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], esi
mov word [esp + 0x78], dx
cmp dword [esp + 0x34], ebx
jb 0x713c88
mov eax, dword [esp + 0x20]
push eax
call fcn.006441c7
add esp, 4
push 7
push 0x80b1cc
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.004016e0
lea ecx, [esp + 0x1c]
push ecx
mov eax, edi
mov byte [esp + 0xdc], 0x18
call fcn.00430c00
mov ecx, eax
call fcn.0058a360
mov ebx, 0x10
mov byte [esp + 0xd8], 0x10
cmp dword [esp + 0x34], ebx
jb 0x713ce4
mov edx, dword [esp + 0x20]
push edx
call fcn.006441c7
add esp, 4
push 4
push 0x80b1d4
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], esi
mov byte [esp + 0x9c], 0
call fcn.004016e0
lea eax, [esp + 0x90]
push eax
mov eax, edi
mov byte [esp + 0xdc], 0x19
call fcn.00430c00
mov ecx, eax
call fcn.0058a360
mov byte [esp + 0xd8], 0x10
cmp dword [esp + 0xa8], ebx
jb 0x713d50
mov ecx, dword [esp + 0x94]
push ecx
call fcn.006441c7
add esp, 4
mov ebx, edi
call fcn.00430bb0
cmp dword [esp + 0xc4], 8
jb 0x713d71
mov edx, dword [esp + 0xb0]
push edx
call fcn.006441c7
add esp, 4
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00643db8
mov esp, ebp
pop ebp
ret 4