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

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
lea esi, [ebx + 0xe0]
mov dword [esp + 0x28], esi
movzx ebp, byte [edi + 0x109bf494]
mov eax, ebp
shr eax, 1
mov dword [esp + 0x18], eax
cmp edi, 3
jl 0x10458b05
movzx edx, byte [edi + 0x109bf464]
mov eax, dword [esp + 0x40]
dec edx
mov edi, dword [esp + 0x44]
and eax, 0x1f
movsx ebx, dl
mov cl, bl
mov ebx, dword [esp + 0x34]
movsx eax, byte [eax + esi + 0x107c]
sar eax, cl
and eax, 1
lea edx, [eax + edx*2]
mov eax, dword [esi + 0x1078]
movsx eax, byte [eax + edi]
mov edi, dword [esp + 0x4c]
sar eax, cl
and eax, 1
lea eax, [eax + edx*2]
mov dword [esp + 0x20], eax
jmp 0x10458b0d
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x50]
mov al, byte [eax]
mov byte [esp + 0x14], al
mov esi, dword [esp + 0x14]
push esi
push edi
call fcn.1045a260
push 3
shr ebp, 2
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], ebp
call fcn.1045a260
mov ebp, dword [esp + 0x40]
add esp, 0x10
mov edi, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
cmp edi, dword [ebp + 0x3add4]
jge 0x10459145
mov edx, dword [esp + 0x44]
cmp edx, dword [ebp + 0x3add8]
jge 0x10459145
cmp dword [esp + 0x10], 0xff
je 0x10459145
mov ecx, dword [esp + 0x48]
test cl, cl
jne 0x10458be9
cmp dword [esp + 0x20], 0
jl 0x10458be9
mov eax, dword [esp + 0x18]
add eax, edi
cmp eax, dword [ebp + 0x3add4]
jge 0x10458be9
mov eax, dword [esp + 0x18]
add eax, edx
cmp eax, dword [ebp + 0x3add8]
mov eax, dword [esp + 0x38]
jge 0x10458bed
cmp byte [eax + 0x5328], cl
je 0x10458bed
mov ecx, dword [esp + 0x4c]
cmp ecx, 3
jg 0x10458bb5
mov eax, 4
jmp 0x10458bc4
xor eax, eax
cmp ecx, 0xf
setne al
lea eax, [eax*2 + 8]
push eax
mov eax, dword [esp + 0x24]
add eax, 0x26b
imul eax, eax, 0x16
push esi
add eax, dword [ebx + 0x1b54]
push eax
call fcn.100a1900
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
movzx ebx, byte [esp + 0x14]
mov dword [esp + 0x20], ebx
cmp ebx, 9
mov ebx, dword [esp + 0x34]
ja case.default.0x10458c07
mov ebp, dword [esp + 0x20]
jmp dword [ebp*4 + 0x10459150]
push dword [esp + 0x54]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
push dword [ebx + 8]
mov ebx, dword [esp + 0x3c]
push esi
push dword [esp + 0x1c]
push ecx
push edx
push edi
push dword [esp + 0x58]
push ebx
push eax
push ebp
call fcn.104583a0
add esp, 0x2c
jmp case.default.0x10458c07
push dword [esp + 0x54]
mov ebp, dword [esp + 0x54]
push dword [ebp + 0x14]
mov ebp, dword [esp + 0x38]
push esi
push dword [esp + 0x1c]
push ecx
push edx
push edi
push dword [esp + 0x58]
push ebx
push eax
push ebp
call fcn.104583a0
mov ecx, dword [esp + 0x44]
add esp, 0x2c
mov edi, dword [esp + 0x44]
add ecx, edi
cmp ecx, dword [ebp + 0x3add8]
jge 0x1045912b
push dword [esp + 0x54]
mov eax, dword [esp + 0x54]
push dword [eax + 0x18]
mov eax, dword [esp + 0x50]
push esi
push dword [esp + 0x1c]
push eax
push ecx
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
push dword [esp + 0x5c]
push ebp
call fcn.104583a0
add esp, 0x2c
jmp 0x1045912b
push dword [esp + 0x54]
mov ebp, dword [esp + 0x54]
push dword [ebp + 0xc]
mov ebp, dword [esp + 0x38]
push esi
push dword [esp + 0x1c]
push ecx
push edx
push edi
push dword [esp + 0x58]
push ebx
push eax
push ebp
call fcn.104583a0
mov ecx, dword [esp + 0x44]
add esp, 0x2c
add ecx, edi
mov edi, dword [esp + 0x44]
cmp ecx, dword [ebp + 0x3add4]
jge 0x1045912b
push dword [esp + 0x54]
mov eax, dword [esp + 0x54]
push dword [eax + 0x10]
mov eax, dword [esp + 0x50]
push esi
push dword [esp + 0x1c]
push eax
push edi
push ecx
jmp 0x10458c93
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x30]
push ebp
push dword [ebx + 0x6c]
mov ebx, dword [esp + 0x44]
push dword [esp + 0x18]
push ecx
push edx
push edi
push ebx
push eax
push dword [esp + 0x54]
push esi
call fcn.10458a90
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x6c]
add edi, dword [esp + 0x40]
push ebp
push dword [eax + 0x70]
mov eax, dword [esp + 0x78]
push dword [esp + 0x40]
push eax
push edi
push dword [esp + 0x7c]
push ebx
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push esi
call fcn.10458a90
mov eax, dword [esp + 0xa0]
add esp, 0x50
mov esi, dword [esp + 0x18]
add esi, dword [esp + 0x40]
push ebp
push dword [eax + 0x74]
push dword [esp + 0x18]
push dword [esp + 0x54]
push dword [esp + 0x54]
push esi
push ebx
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10458a90
mov eax, dword [esp + 0x78]
push ebp
push dword [eax + 0x78]
push dword [esp + 0x40]
push dword [esp + 0x7c]
push edi
push esi
push ebx
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.10458a90
mov esi, dword [esp + 0x64]
add esp, 0x50
jmp case.default.0x10458c07
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x30]
push esi
push dword [edx + 0x1c]
mov edx, dword [esp + 0x1c]
push edx
push dword [esp + 0x28]
push ecx
push edi
push dword [esp + 0x58]
mov edi, dword [esp + 0x58]
push edi
push ebx
push eax
push ebp
call fcn.104583a0
mov eax, dword [esp + 0x7c]
push esi
push dword [eax + 0x20]
mov eax, dword [esp + 0x78]
push dword [esp + 0x48]
add eax, dword [esp + 0x50]
push dword [esp + 0x54]
push dword [esp + 0x84]
push eax
push dword [esp + 0x84]
push edi
push ebx
push dword [esp + 0x88]
push ebp
call fcn.104583a0
mov eax, dword [esp + 0xa8]
add esp, 0x58
push esi
push dword [eax + 0x24]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x20]
push esi
push dword [esp + 0x1c]
push dword [esp + 0x58]
push dword [esp + 0x58]
push eax
push edi
push ebx
push dword [esp + 0x5c]
push ebp
call fcn.104583a0
add esp, 0x2c
jmp case.default.0x10458c07
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x30]
push edi
push dword [ebx + 0x28]
mov ebx, dword [esp + 0x44]
push esi
push dword [esp + 0x1c]
mov esi, dword [esp + 0x50]
push ecx
push edx
push esi
push ebx
push dword [esp + 0x54]
push eax
push ebp
call fcn.104583a0
mov eax, dword [esp + 0x7c]
add esi, dword [esp + 0x44]
push edi
push dword [eax + 0x2c]
push dword [esp + 0x48]
push dword [esp + 0x54]
push dword [esp + 0x84]
push dword [esp + 0x84]
push esi
push ebx
push dword [esp + 0x80]
push dword [esp + 0x88]
push ebp
call fcn.104583a0
mov eax, dword [esp + 0xa8]
add esp, 0x58
push edi
push dword [eax + 0x30]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x1c]
add eax, dword [esp + 0x24]
push dword [esp + 0x28]
push dword [esp + 0x58]
push eax
push esi
push ebx
push dword [esp + 0x54]
push dword [esp + 0x5c]
push ebp
call fcn.104583a0
mov esi, dword [esp + 0x40]
add esp, 0x2c
jmp case.default.0x10458c07
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x30]
push esi
push dword [edx + 0x34]
mov edx, dword [esp + 0x1c]
push edx
push dword [esp + 0x28]
push ecx
push edi
push dword [esp + 0x58]
mov edi, dword [esp + 0x58]
push edi
push ebx
push eax
push ebp
call fcn.104583a0
mov eax, dword [esp + 0x7c]
push esi
push dword [eax + 0x38]
mov eax, dword [esp + 0x74]
push dword [esp + 0x48]
add eax, dword [esp + 0x50]
push dword [esp + 0x54]
push dword [esp + 0x84]
push dword [esp + 0x84]
push eax
push edi
push ebx
push dword [esp + 0x88]
push ebp
call fcn.104583a0
mov eax, dword [esp + 0xa8]
add esp, 0x58
push esi
push dword [eax + 0x3c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x20]
push esi
push dword [esp + 0x1c]
push dword [esp + 0x58]
push eax
push dword [esp + 0x58]
push edi
push ebx
push dword [esp + 0x5c]
push ebp
call fcn.104583a0
add esp, 0x2c
jmp case.default.0x10458c07
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
push edi
mov ebp, dword [esp + 0x34]
push dword [ebx + 0x40]
mov ebx, dword [esp + 0x44]
push esi
push dword [esp + 0x1c]
push ecx
push edx
push dword [esp + 0x58]
push ebx
push dword [esp + 0x54]
push eax
push ebp
call fcn.104583a0
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x44]
add esi, dword [esp + 0x70]
push edi
push dword [eax + 0x44]
push dword [esp + 0x48]
push dword [esp + 0x54]
push dword [esp + 0x84]
push esi
push dword [esp + 0x84]
push ebx
push dword [esp + 0x80]
push dword [esp + 0x88]
push ebp
call fcn.104583a0
mov eax, dword [esp + 0xa8]
add esp, 0x58
push edi
push dword [eax + 0x48]
mov eax, dword [esp + 0x48]
push dword [esp + 0x1c]
add eax, dword [esp + 0x24]
push dword [esp + 0x28]
push dword [esp + 0x58]
push esi
push eax
jmp 0x10458ee2
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x50]
add edi, 0x4c
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x20]
nop
test edi, edi
jle 0x10459068
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebp + 0x3add4]
mov eax, dword [esp + 0x38]
jge case.default.0x10458c07
push dword [esp + 0x54]
mov ebx, dword [esp + 0x54]
push dword [ebx]
mov ebx, dword [esp + 0x3c]
push esi
push dword [esp + 0x1c]
push ecx
push edx
push dword [esp + 0x34]
push dword [esp + 0x58]
push ebx
push eax
push ebp
call fcn.104583a0
mov eax, dword [esp + 0x50]
inc edi
add dword [esp + 0x48], eax
add esp, 0x2c
add dword [esp + 0x50], 4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
cmp edi, 4
jl 0x10459050
mov edi, edx
jmp 0x1045912b
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x50]
add edx, 0x5c
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], edx
nop
cmp dword [esp + 0x20], 0
mov edx, dword [esp + 0x34]
jle 0x104590e3
cmp edx, dword [ebp + 0x3add8]
jge case.default.0x10458c07
push dword [esp + 0x54]
mov eax, dword [esp + 0x54]
push dword [eax]
mov eax, dword [esp + 0x40]
push esi
push dword [esp + 0x1c]
push ecx
push edx
push edi
push dword [esp + 0x58]
push ebx
push eax
push ebp
call fcn.104583a0
mov eax, dword [esp + 0x4c]
add esp, 0x2c
mov ecx, dword [esp + 0x24]
inc eax
add dword [esp + 0x34], ecx
add dword [esp + 0x50], 4
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
cmp eax, 4
jl 0x104590d0
mov edi, dword [esp + 0x44]
push esi
push dword [esp + 0x50]
push dword [esp + 0x18]
push edi
push dword [esp + 0x50]
push dword [esp + 0x3c]
call fcn.1045e090
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret