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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi], 1
mov dword [esp + 0xc], eax
test eax, eax
je 0x100056c4
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [ecx - 1]
mov edi, 1
cmp edx, 0xb
ja case.0x100054cd.12
jmp dword [edx*4 + 0x100056e0]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push ecx
push edx
push ebx
call fcn.10003de0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add esp, 0xc
dec dword [ebx + 0x1c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
jmp 0x10005697
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push eax
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.10004100
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov ebx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add esp, 0xc
jmp 0x10005697
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edx
lea edi, [esp + 0x78]
call fcn.100043c0
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov ebx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
jmp 0x10005694
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
lea ecx, [esp + 0x10c]
push ecx
call fcn.100045a0
add esp, 0x10
mov edx, dword [eax + 4]
mov edi, dword [eax]
mov ebx, dword [eax + 8]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
jmp 0x10005697
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xd8]
push ecx
call fcn.100047b0
add esp, 0xc
jmp 0x1000557e
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x90]
push ecx
call fcn.10004ad0
add esp, 0xc
jmp 0x1000557e
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
lea esi, [esp + 0xb8]
call fcn.10005030
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov ebx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
jmp 0x10005697
mov edx, dword [esp + 0x44]
mov ebx, dword [eax + 8]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov edi, 3
jmp 0x10005697
mov ecx, dword [esp + 0x5c]
mov ebx, dword [eax + 8]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x68]
mov edi, 4
jmp 0x10005697
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
lea ebx, [esp + 0xf4]
call fcn.100050a0
jmp 0x1000551d
push ecx
push str.bad_case..._d
mov dword [0x1013a144], 0x10137980
mov dword [0x1013a198], 0x1003953c
mov dword [0x1013a140], 0xe1b
mov dword [0x1013a13c], 0x10039770
call fcn.10001020
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
add esp, 8
mov dword [esi], edi
mov edi, dword [esp + 0x14]
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
cmp dword [esi], 1
jne 0x100056c4
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100054b4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x118]
push ecx
call fcn.100051b0
aam 0x54
add byte [eax], dl
or byte [ebp], dl
adc byte [edx], bh
push ebp
add byte [eax], dl
push ebp
add byte [eax], dl
cwde
push ebp
add byte [eax], dl
mov dl, 0x55
add byte [eax], dl
int3