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

Disassembly:
sub esp, 0x160
mov eax, dword [0x10056280]
xor eax, esp
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x170]
mov edx, dword [esp + 0x174]
mov ecx, dword [esp + 0x16c]
push ebx
push ebp
mov ebp, dword [esp + 0x170]
push esi
mov esi, dword [esp + 0x170]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
je 0x100030b5
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
cmp ecx, ebx
mov dword [esp + 0x10], 1
je 0x10003331
cmp byte [ecx], bl
je 0x10003331
push pe_nt_image_headers32
push ecx
lea eax, [esp + 0x74]
push eax
call fcn.10005210
lea eax, [esp + 0x78]
call fcn.10005180
xor eax, eax
lea ecx, [esp + 0x78]
push 0x3a
push ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.10033ec7
mov edi, eax
add esp, 0x14
cmp edi, ebx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x6c]
je 0x1000314f
push 0x3a
push edx
mov eax, 0x14
call fcn.10005320
push 0x14
add edi, 1
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.10005210
add esp, 0x14
jmp 0x1000316c
push 0x14
push ecx
push edx
call fcn.10005210
push 0x14
lea eax, [esp + 0x40]
push 0x1004de80
push eax
call fcn.10005210
add esp, 0x18
lea ecx, [esp + 0x44]
push ecx
call fcn.10005130
lea edx, [esp + 0x34]
push edx
call fcn.10005130
lea eax, [esp + 0x4c]
call fcn.10005180
lea eax, [esp + 0x38]
call fcn.10005180
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x38]
push 0x20
push eax
call fcn.10033ec7
mov edi, eax
add esp, 0x10
cmp edi, ebx
lea ecx, [esp + 0x58]
je 0x100031fb
push 0x20
push ecx
mov eax, 0x14
lea ecx, [esp + 0x38]
call fcn.10005320
push 0x14
add edi, 1
lea edx, [esp + 0x28]
push edi
push edx
call fcn.10005210
add esp, 0x14
jmp 0x1000321c
push 0x14
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.10005210
push 0x14
lea edx, [esp + 0x2c]
push 0x1004de80
push edx
call fcn.10005210
add esp, 0x18
lea eax, [esp + 0x58]
push eax
call fcn.10005130
lea ecx, [esp + 0x20]
push ecx
call fcn.10005130
lea eax, [esp + 0x60]
call fcn.10005180
lea eax, [esp + 0x24]
call fcn.10005180
lea edx, [esp + 0x4c]
push edx
call fcn.10033330
add esp, 0xc
cmp eax, ebx
mov dword [esi + 0x10], eax
jl 0x1000325b
cmp eax, 0x18
jle 0x1000325f
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x58]
push eax
call fcn.10033330
add esp, 4
cmp eax, ebx
mov dword [esi + 0x14], eax
jl 0x10003278
cmp eax, 0x3b
jle 0x1000327c
mov dword [esp + 0x10], ebx
cmp byte [esp + 0x1c], bl
je 0x10003314
lea ecx, [esp + 0x1c]
push ecx
call fcn.10032eb4
lea edx, [esp + 0x20]
push 0x1004e0a0
push edx
call fcn.100341ae
add esp, 0xc
test eax, eax
je 0x100032bc
lea eax, [esp + 0x1c]
push 0x1004e0a4
push eax
call fcn.100341ae
add esp, 8
test eax, eax
jne 0x100032cc
mov edi, 0xc
cmp dword [esi + 0x10], edi
jle 0x100032d1
mov dword [esp + 0x10], ebx
jmp 0x100032d1
mov edi, 0xc
lea ecx, [esp + 0x1c]
push 0x1004e0a0
push ecx
call fcn.100341ae
add esp, 8
test eax, eax
jne 0x100032f6
add dword [esi + 0x10], edi
cmp dword [esi + 0x10], 0x18
jle 0x10003318
mov dword [esp + 0x10], ebx
jmp 0x10003314
cmp dword [esi + 0x10], edi
jne 0x10003314
lea edx, [esp + 0x1c]
push 0x1004e0a4
push edx
call fcn.100341ae
add esp, 8
test eax, eax
jne 0x10003314
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x10], 0x18
jne 0x10003325
cmp dword [esi + 0x14], ebx
jle 0x10003325
mov dword [esp + 0x10], ebx
jmp 0x1000332b
cmp dword [esp + 0x10], ebx
jne 0x10003331
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
cmp ebp, ebx
je 0x1000343d
cmp byte [ebp], bl
je 0x1000343d
push pe_nt_image_headers32
lea eax, [esp + 0x70]
push ebp
push eax
call fcn.10005210
lea eax, [esp + 0x78]
call fcn.10005180
lea ecx, [esp + 0x78]
push 0x2d
push ecx
call fcn.10033ec7
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x10003389
lea edx, [esp + 0x6c]
push 0x2f
push edx
call fcn.10033ec7
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x1000343d
cmp byte [edi], 0x2d
mov byte [edi], bl
jne 0x100033b7
lea eax, [esp + 0x6c]
push eax
add edi, 1
call fcn.10033330
mov dword [esi + 0xc], eax
mov eax, edi
call fcn.10002f10
push 0x2d
push edi
mov dword [esi + 4], eax
call fcn.10033ec7
add esp, 0xc
jmp 0x100033db
lea ecx, [esp + 0x6c]
push ecx
add edi, 1
call fcn.10033330
push edi
mov dword [esi + 4], eax
call fcn.10033330
push 0x2f
push edi
mov dword [esi + 0xc], eax
call fcn.10033ec7
add esp, 0x10
lea edx, [esp + 0x1c]
push edx
mov edi, eax
call dword [0x1004309c]
cmp edi, ebx
movzx eax, word [esp + 0x1c]
je 0x100033fd
add edi, 1
push edi
call fcn.10033330
add esp, 4
cmp eax, 0x32
jge 0x10003407
add eax, 0x7d0
cmp eax, ebx
mov dword [esi], eax
jl 0x1000342d
cmp eax, 0x802
jg 0x1000342d
mov eax, dword [esi + 0xc]
cmp eax, 1
jl 0x1000342d
cmp eax, 0x1f
jg 0x1000342d
mov eax, dword [esi + 4]
cmp eax, ebx
jl 0x1000342d
cmp eax, 0xc
jle 0x1000343d
mov dword [esi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 4], 0xffffffff
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x100034ae
cmp byte [eax], bl
je 0x100034ae
push eax
call fcn.10033330
mov edi, eax
mov ecx, edi
neg ecx
add esp, 4
cmp edi, ecx
jle 0x1000345e
mov ecx, edi
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
imul edx, edx, 0x64
sub ecx, edx
mov edx, ecx
shl ecx, 4
sub ecx, edx
add ecx, ecx
add ecx, ecx
cmp ecx, 0x3c
jl 0x1000348c
mov dword [esp + 0x10], ebx
xor ecx, ecx
lea edx, [eax - 1]
cmp edx, 0x16
ja 0x100034aa
imul eax, eax, 0xe10
add eax, ecx
cmp edi, ebx
mov dword [esi + 0x20], eax
jge 0x100034ae
neg eax
mov dword [esi + 0x20], eax
jmp 0x100034ae
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x100034bc
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x16c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003158d
add esp, 0x160
ret