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

Disassembly:
mov eax, 0x3034
call fcn.00492d80
mov eax, dword [0x455ef2c]
push ebx
push ebp
push esi
test eax, eax
push edi
jne 0x462f42
cmp word [0x4560258], 0
jne 0x462f42
mov ecx, dword [esp + 0x304c]
lea eax, [esp + 0x844]
push eax
push 0x7ff
push 1
push 0x2c
push ecx
call fcn.00489f70
lea edi, [esp + 0x858]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x462f42
mov dword [esp + 0x30], 1
lea edx, [esp + 0x44]
lea eax, [esp + 0x844]
push edx
push 0x7ff
push 1
push 0x7c
push eax
call fcn.00489f70
lea edi, [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x462f42
lea ecx, [esp + 0x44]
push ecx
call fcn.004929fe
add esp, 4
dec eax
cmp eax, 3
ja case.default.0x462642
jmp dword [eax*4 + 0x462f50]
push 2
lea edx, [esp + 0x848]
push 0x7c
push edx
call fcn.0048a050
mov dword [esp + 0x28], eax
lea eax, [esp + 0x50]
push eax
push 0x7ff
push 3
lea ecx, [esp + 0x85c]
push 0x7c
push ecx
call fcn.00489f70
lea edx, [esp + 0x64]
push edx
call fcn.0048a0a0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x68]
push eax
push 0x7ff
push 4
lea ecx, [esp + 0x874]
push 0x7c
push ecx
call fcn.00489f70
lea edx, [esp + 0x7c]
push edx
call fcn.004929fe
mov dword [esp + 0x70], eax
lea eax, [esp + 0x80]
push eax
push 0x7ff
push 5
lea ecx, [esp + 0x88c]
push 0x7c
push ecx
call fcn.00489f70
add esp, 0x50
lea edx, [esp + 0x44]
push edx
call fcn.004929fe
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
push eax
push 0x7ff
push 6
lea ecx, [esp + 0x854]
push 0x7c
push ecx
call fcn.00489f70
lea edx, [esp + 0x5c]
push edx
call fcn.004929fe
add eax, 3
mov esi, eax
and esi, 0x80000007
jns 0x462716
dec esi
or esi, 0xfffffff8
inc esi
lea eax, [esp + 0x60]
lea ecx, [esp + 0x860]
push eax
push 0x7ff
push 7
push 0x7c
push ecx
call fcn.00489f70
lea edx, [esp + 0x74]
push edx
call fcn.004929fe
mov dword [esp + 0x58], eax
lea eax, [esp + 0x78]
push eax
push 0x7ff
push 8
lea ecx, [esp + 0x884]
push 0x7c
push ecx
call fcn.00489f70
add esp, 0x48
lea edx, [esp + 0x44]
push edx
call fcn.004929fe
mov dword [esp + 0x18], eax
push 9
lea eax, [esp + 0x84c]
push 0x7c
push eax
call fcn.0048a050
lea ecx, [esp + 0x1854]
lea edx, [esp + 0x854]
push ecx
push 0x7ff
push 0xa
push 0x7c
push edx
mov dword [esp + 0x4c], eax
call fcn.00489f70
lea eax, [esp + 0x1868]
push eax
call fcn.0048a170
lea ecx, [esp + 0x206c]
lea edx, [esp + 0x86c]
push ecx
push 0x7ff
push 0xb
push 0x7c
push edx
call fcn.00489f70
lea eax, [esp + 0x2080]
push eax
call fcn.0048a170
add esp, 0x40
lea ecx, [esp + 0x44]
lea edx, [esp + 0x844]
push ecx
push 0x7ff
push 0xc
push 0x7c
push edx
call fcn.00489f70
lea eax, [esp + 0x58]
push eax
call fcn.004929fe
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x85c]
push ecx
push 0x7ff
push 0xd
push 0x7c
push edx
mov ebx, eax
call fcn.00489f70
lea eax, [esp + 0x70]
push eax
call fcn.004929fe
push 0xe
mov dword [esp + 0x54], eax
push 0x7c
lea ecx, [esp + 0x87c]
push ecx
call fcn.0048a050
lea edx, [esp + 0x2880]
mov edi, eax
push edx
push 0x7ff
push 0xf
lea eax, [esp + 0x88c]
push 0x7c
push eax
call fcn.00489f70
add esp, 0x50
lea ecx, [esp + 0x2844]
push ecx
call fcn.0048a170
lea edx, [esp + 0x1448]
lea eax, [esp + 0x848]
push edx
push 0x3ff
push 0x10
push 0x7c
push eax
call fcn.00489f70
lea ecx, [esp + 0x145c]
push ecx
call fcn.0048a170
lea edx, [esp + 0x60]
lea eax, [esp + 0x860]
push edx
push 0x7ff
push 0x11
push 0x7c
push eax
call fcn.00489f70
lea ecx, [esp + 0x74]
push ecx
call fcn.004929fe
lea edx, [esp + 0x78]
mov dword [esp + 0x44], eax
push edx
push 0x7ff
push 0x12
lea eax, [esp + 0x884]
push 0x7c
push eax
call fcn.00489f70
add esp, 0x48
lea ecx, [esp + 0x44]
push ecx
call fcn.004929fe
lea edx, [esp + 0x48]
mov ebp, eax
push edx
push 0x7ff
push 0x13
lea eax, [esp + 0x854]
push 0x7c
push eax
call fcn.00489f70
lea ecx, [esp + 0x5c]
push ecx
call fcn.004929fe
lea edx, [esp + 0x60]
mov dword [esp + 0x58], eax
push edx
push 0x7ff
push 0x14
lea eax, [esp + 0x86c]
push 0x7c
push eax
call fcn.00489f70
lea ecx, [esp + 0x74]
push ecx
call fcn.004929fe
lea edx, [esp + 0x78]
mov dword [esp + 0x74], eax
push edx
push 0x7ff
push 0x15
push 0x7c
lea eax, [esp + 0x888]
push eax
call fcn.00489f70
add esp, 0x48
lea ecx, [esp + 0x44]
push ecx
call fcn.004929fe
lea edx, [esp + 0x48]
mov dword [esp + 0x3c], eax
push edx
push 0x7ff
push 0x16
lea eax, [esp + 0x854]
push 0x7c
push eax
call fcn.00489f70
lea ecx, [esp + 0x5c]
push ecx
call fcn.004929fe
add esp, 0x1c
test edi, edi
jge 0x462994
xor edi, edi
mov ecx, dword [esp + 0x18]
mov edx, dword [0x462be90]
cmp edx, ecx
jne 0x462ac7
mov eax, dword [0x462e3ac]
test eax, eax
jne 0x4629ce
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
push esi
push edx
push eax
push ecx
call fcn.00477b20
add esp, 0x10
call fcn.00477fd0
jmp 0x4629e2
mov edx, dword [0x462be94]
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.00477c70
add esp, 8
call fcn.00442870
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
push ebp
push ecx
push ebx
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1460]
push eax
push ecx
lea eax, [esp + 0x2068]
push edx
lea ecx, [esp + 0x186c]
push eax
push ecx
call fcn.00477dc0
push edi
call fcn.00478190
mov eax, dword [0x462bf2c]
add esp, 0x34
test ah, 1
je 0x462a77
cmp word [0x46308f0], 0
je 0x462a77
mov edi, 0x462bef8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x462bec0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [0x46308f8], edx
mov eax, ecx
mov esi, edi
mov edi, 0x4630908
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov eax, 0x46308f4
cmp word [eax - 4], 0
je 0x462a8f
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
cmp edx, ecx
je 0x462a9f
add eax, 0x30
inc esi
cmp eax, 0x46309e4
jl 0x462a7e
jmp case.default.0x462642
mov eax, dword [0x462e3ac]
lea edx, [esi + esi*2]
shl edx, 4
mov dword [edx + 0x463091c], eax
call fcn.004780b0
test esi, esi
jne case.default.0x462642
call fcn.00478090
jmp case.default.0x462642
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ebp
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x20]
push ebx
push edx
lea edx, [esp + 0x145c]
push eax
mov eax, dword [esp + 0x30]
push edx
lea edx, [esp + 0x2064]
push eax
push edx
lea eax, [esp + 0x186c]
lea edx, [esp + 0x286c]
push eax
mov eax, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x64]
push esi
push eax
mov eax, dword [esp + 0x5c]
push edx
push eax
push ecx
call fcn.0040ea30
mov ebp, dword [esp + 0x5c]
push ebp
call fcn.0040f460
mov esi, eax
add esp, 0x48
test esi, esi
je case.default.0x462642
xor ebx, ebx
mov eax, 0x46308f4
cmp word [eax - 4], 0
je 0x462b42
cmp dword [eax], ebp
je 0x462b5c
add eax, 0x30
inc ebx
cmp eax, 0x46309e4
jl 0x462b37
push edi
push esi
call fcn.0040db20
add esp, 8
jmp case.default.0x462642
lea ecx, [ebx + ebx*2]
push esi
shl ecx, 4
mov dword [ecx + 0x463091c], esi
call fcn.0040c080
add esp, 4
test ebx, ebx
jne 0x462b7e
push esi
call fcn.0040c020
add esp, 4
push edi
push esi
call fcn.0040db20
add esp, 8
jmp case.default.0x462642
lea edx, [esp + 0x44]
lea eax, [esp + 0x844]
push edx
push 0x7ff
push 2
push 0x7c
push eax
call fcn.00489f70
lea ecx, [esp + 0x58]
push ecx
call fcn.0048a0a0
lea edx, [esp + 0x5c]
mov esi, eax
push edx
push 0x7ff
push 3
lea eax, [esp + 0x868]
push 0x7c
push eax
call fcn.00489f70
lea ecx, [esp + 0x70]
push ecx
call fcn.004929fe
lea edx, [esp + 0x74]
mov edi, eax
push edx
push 0x7ff
push 4
lea eax, [esp + 0x880]
push 0x7c
push eax
call fcn.00489f70
add esp, 0x44
lea ecx, [esp + 0x44]
push ecx
call fcn.004929fe
lea edx, [esp + 0x48]
mov ebx, eax
push edx
push 0x7ff
push 5
lea eax, [esp + 0x854]
push 0x7c
push eax
call fcn.00489f70
lea ecx, [esp + 0x5c]
push ecx
call fcn.004929fe
push 6
lea edx, [esp + 0x864]
push 0x7c
push edx
mov ebp, eax
call fcn.0048a050
mov dword [esp + 0x44], eax
lea eax, [esp + 0x106c]
push eax
push 0x3ff
push 7
lea ecx, [esp + 0x878]
push 0x7c
push ecx
call fcn.00489f70
lea edx, [esp + 0x1080]
push edx
call fcn.0048a170
mov ecx, dword [esp + 0x5c]
add esp, 0x40
lea eax, [esp + 0x1044]
push eax
push ecx
push 0
push ebx
push edi
push ebp
push esi
call fcn.0040efd0
add esp, 0x1c
jmp case.default.0x462642
lea edx, [esp + 0x44]
lea eax, [esp + 0x844]
push edx
push 0x7ff
push 2
push 0x7c
push eax
call fcn.00489f70
lea ecx, [esp + 0x58]
push ecx
call fcn.0048a0a0
lea edx, [esp + 0x5c]
mov edi, eax
push edx
push 0x7ff
push 3
lea eax, [esp + 0x868]
push 0x7c
push eax
call fcn.00489f70
lea ecx, [esp + 0x70]
push ecx
call fcn.004929fe
lea edx, [esp + 0x74]
mov ebx, eax
push edx
push 0x7ff
push 4
lea eax, [esp + 0x880]
push 0x7c
push eax
call fcn.00489f70
add esp, 0x44
lea ecx, [esp + 0x44]
push ecx
call fcn.004929fe
lea edx, [esp + 0x48]
mov ebp, eax
push edx
push 0x7ff
push 5
lea eax, [esp + 0x854]
push 0x7c
push eax
call fcn.00489f70
lea ecx, [esp + 0x5c]
push ecx
call fcn.004929fe
mov esi, eax
lea edx, [esp + 0x1060]
push esi
push str._d_Stone
push edx
call fcn.004923a7
add esp, 0x28
cmp esi, 0x2710
jle 0x462d6c
lea eax, [esp + 0x1044]
push eax
push esi
push 0
push ebp
push ebx
push 0x5df2
push edi
call fcn.0040f180
add esp, 0x1c
jmp case.default.0x462642
cmp esi, 0x3e8
jle 0x462d94
lea ecx, [esp + 0x1044]
push ecx
push esi
push 0
push ebp
push ebx
push 0x5df3
push edi
call fcn.0040f180
add esp, 0x1c
jmp case.default.0x462642
lea edx, [esp + 0x1044]
push edx
push esi
push 0
push ebp
push ebx
push 0x5df4
push edi
call fcn.0040f180
add esp, 0x1c
jmp case.default.0x462642
lea eax, [esp + 0x44]
lea ecx, [esp + 0x844]
push eax
push 0x7ff
push 2
push 0x7c
push ecx
call fcn.00489f70
lea edx, [esp + 0x58]
push edx
call fcn.0048a0a0
mov edi, eax
lea eax, [esp + 0x185c]
push eax
push 0x7ff
push 3
lea ecx, [esp + 0x868]
push 0x7c
push ecx
call fcn.00489f70
lea edx, [esp + 0x1870]
push edx
call fcn.0048a170
lea eax, [esp + 0x74]
lea ecx, [esp + 0x874]
push eax
push 0x7ff
push 4
push 0x7c
push ecx
call fcn.00489f70
add esp, 0x44
lea edx, [esp + 0x44]
push edx
call fcn.004929fe
add eax, 3
mov esi, eax
and esi, 0x80000007
jns 0x462e40
dec esi
or esi, 0xfffffff8
inc esi
lea eax, [esp + 0x48]
lea ecx, [esp + 0x848]
push eax
push 0x7ff
push 5
push 0x7c
push ecx
call fcn.00489f70
lea edx, [esp + 0x5c]
push edx
call fcn.004929fe
mov ebx, eax
lea eax, [esp + 0x60]
push eax
push 0x7ff
push 6
lea ecx, [esp + 0x86c]
push 0x7c
push ecx
call fcn.00489f70
lea edx, [esp + 0x74]
push edx
call fcn.004929fe
mov ebp, eax
lea eax, [esp + 0x78]
push eax
push 0x7ff
push 7
lea ecx, [esp + 0x884]
push 0x7c
push ecx
call fcn.00489f70
add esp, 0x48
lea edx, [esp + 0x44]
push edx
call fcn.004929fe
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push 0
push 0
push 2
push ecx
mov ecx, dword [esp + 0x24]
push 0
push edx
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x1464]
push edx
push ecx
lea edx, [esp + 0x186c]
push 0x4e220c
push edx
push 0x4e220c
push esi
push eax
push ebp
push ebx
push edi
call fcn.0040ea30
add esp, 0x48
push edi
call fcn.0040f460
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x304c]
lea ecx, [esp + 0x844]
inc eax
push ecx
push 0x7ff
push eax
push 0x2c
push edx
mov dword [esp + 0x44], eax
call fcn.00489f70
lea edi, [esp + 0x858]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4625f9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3034
ret