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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push ebx
push ebp
movzx edx, byte [eax + 0x1075c290]
xor ebp, ebp
movzx ebx, byte [eax + 0x1075c278]
mov eax, dword [ecx + 0x1008]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0xc], 0
mov eax, dword [eax + 0x8c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ebp
cmp dword [esp + 0x6c], ebp
jle 0x1013a069
push esi
push edi
mov edi, dword [esp + 0x60]
lea eax, [ecx + 0x14]
mov dword [esp + 0x2c], eax
lea esi, [edi + 0x28]
mov dword [esp + 0x28], esi
nop
mov ecx, dword [eax + 4]
sar edx, cl
mov ecx, dword [eax]
xor eax, eax
sar ebx, cl
test ebp, ebp
mov dword [esp + 0x20], edx
setne al
mov dword [esp + 0x40], ebx
xor ecx, ecx
mov dword [esp + 0x68], ecx
lea eax, [eax*4 + 0x20]
mov edi, dword [eax + edi]
mov eax, dword [esi]
mov esi, edi
mov dword [esp + 0x44], eax
add eax, eax
imul esi, edx
mov dword [esp + 0x38], eax
mov eax, ebx
imul eax, dword [esp + 0x70]
mov dword [esp + 0x4c], edi
imul esi, dword [esp + 0x6c]
add esi, eax
mov dword [esp + 0x18], esi
test edx, edx
jle 0x1013a02d
mov edx, dword [esp + 0x78]
lea ecx, [edi + edi]
mov dword [esp + 0x50], ecx
lea eax, [esi + esi]
mov ecx, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x34], eax
lea eax, [ebx + ebx]
mov dword [esp + 0x48], eax
lea edi, [edx + ecx*4]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x64], edi
lea edx, [edx + ecx*2]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, ebp
mov dword [esp + 0x10], edx
test ebx, ebx
jle 0x1013a005
test byte [esp + 0x30], 8
je 0x10139f98
mov esi, dword [esp + 0x34]
lea eax, [ebx + ebx]
add dword [esp + 0x68], ebx
lea ecx, [ebx*4]
add dword [esp + 0x64], ecx
add esi, ebp
add esi, dword [esp + 0x38]
add dword [esp + 0x10], eax
add ebp, eax
mov dword [esp + 0x3c], edx
mov edx, edi
mov ecx, dword [esp + 0x3c]
mov edi, ebx
mov ebx, 0x3e8
movzx eax, word [esi]
lea edx, [edx + 4]
imul eax, eax, 0x3e8
lea ecx, [ecx + 2]
lea esi, [esi + 2]
add dword [edx - 4], eax
add word [ecx - 2], bx
sub edi, 1
jne 0x10139f74
mov ebx, dword [esp + 0x40]
jmp 0x10139ff2
add esi, ecx
lea ebp, [ebp + ebx*2]
mov ecx, dword [esp + 0x10]
mov eax, edi
add ecx, dword [esp + 0x48]
mov edi, ebx
add esi, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
lea ecx, [ebx*4]
add dword [esp + 0x64], ecx
add dword [esp + 0x68], ebx
mov dword [esp + 0x3c], ebp
mov ebp, 0x3e8
nop word [eax + eax]
movzx ecx, byte [esi]
lea eax, [eax + 4]
imul ecx, ecx, 0x3e8
lea edx, [edx + 2]
lea esi, [esi + 1]
add dword [eax - 4], ecx
add word [edx - 2], bp
sub edi, 1
jne 0x10139fd0
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
lea eax, [ebx + ebx]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
sub ebp, eax
mov eax, dword [esp + 0x4c]
add ebp, dword [esp + 0x50]
sub eax, ebx
add ecx, eax
sub dword [esp + 0x1c], 1
mov dword [esp + 0x68], ecx
lea eax, [ebx + ebx]
jne 0x10139f32
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
inc ebp
mov eax, dword [esp + 0x2c]
add esi, 4
mov edi, dword [esp + 0x60]
add eax, 0x538
imul ebx, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
add dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x58]
cmp ebp, dword [esp + 0x74]
jl 0x10139ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret