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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
mov edx, dword [ebp + 0xc]
cmp byte [eax + 2], 0
push ebx
push esi
push edi
movzx edi, byte [eax + 0xa]
lea ecx, [edi + edx]
je 0x100d4cc9
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x10]
add ebx, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
cmp ebx, 0x80
jae 0x100d4c97
lea eax, [edi + edx]
mov byte [eax], bl
mov eax, 1
jmp 0x100d4cb0
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
call fcn.10124a70
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 0xc]
push dword [ecx + 0xc]
movzx eax, al
push dword [ecx + 8]
add edi, eax
lea eax, [edi + edx]
push eax
call fcn.10124a70
add esp, 0xc
jmp 0x100d4cfe
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 8]
mov esi, ebx
mov eax, dword [eax]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
cmp ebx, 0x80
jae 0x100d4ced
mov byte [ecx], bl
mov eax, 1
jmp 0x100d4cfb
mov eax, ebx
cdq
push edx
push eax
push ecx
call fcn.10124a70
add esp, 0xc
movzx eax, al
mov ecx, dword [ebp + 8]
add edi, eax
mov dword [ebp - 0x14], edi
add edi, dword [ebp + 0xc]
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x1c], eax
cmp ebx, eax
jg 0x100d4d4c
mov ecx, dword [ebp - 0x14]
mov eax, 4
add ecx, ebx
cmp ecx, eax
push esi
push dword [ebp - 4]
cmovl ecx, eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [eax], ecx
call fcn.1016a0c0
sub ebx, esi
lea eax, [edi + esi]
push ebx
push 0
push eax
call fcn.1016abc0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx esi, word [ecx + 0x10]
xor edx, edx
mov ecx, dword [ecx + 0x34]
mov eax, ebx
sub eax, esi
mov ecx, dword [ecx + 0x28]
sub ecx, 4
div ecx
lea eax, [edx + esi]
mov edx, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
cmovle esi, eax
mov eax, dword [ebp + 0x14]
add edx, esi
lea ecx, [edx + 4]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
add eax, edx
xor edx, edx
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ebx
mov eax, dword [eax + 0x34]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], esi
nop dword [eax + eax]
cmp eax, dword [ebp - 8]
cmovle esi, eax
cmp ecx, esi
jl 0x100d4db6
push esi
push dword [ebp - 4]
push edi
call fcn.1016a0c0
jmp 0x100d4dd1
test ecx, ecx
jle 0x100d4dc8
push ecx
push dword [ebp - 4]
mov esi, ecx
push edi
call fcn.1016a0c0
jmp 0x100d4dd1
push esi
push 0
push edi
call fcn.1016abc0
mov eax, dword [ebp - 0xc]
add esp, 0xc
sub eax, esi
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x100d5010
mov ecx, dword [ebp - 0x10]
add edi, esi
add dword [ebp - 4], esi
sub ecx, esi
sub dword [ebp - 8], esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
jne 0x100d4da0
mov edi, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 8], 0
mov dword [ebp + 0xc], esi
cmp byte [edi + 0x11], 0
je 0x100d4e6f
jmp 0x100d4e13
mov edi, dword [ebp + 8]
inc ebx
cmp ebx, 2
jae 0x100d4e20
mov edi, dword [edi + 0x24]
xor eax, eax
jmp 0x100d4e54
mov eax, 0xcccccccd
lea esi, [ebx - 2]
mul dword [edi + 0x28]
mov eax, esi
mov edi, dword [edi + 0x24]
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
mov eax, dword [0x101eb1a4]
sub esi, edx
xor edx, edx
div edi
lea ecx, [eax - 1]
xor eax, eax
cmp esi, ecx
sete al
add eax, 2
add eax, esi
cmp eax, ebx
je 0x100d4e10
mov eax, dword [0x101eb1a4]
xor edx, edx
div edi
mov edi, dword [ebp + 8]
inc eax
cmp ebx, eax
je 0x100d4e13
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], ebx
push 0
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push edi
call fcn.100c4b70
mov ebx, dword [ebp - 0x18]
add esp, 0x14
cmp byte [edi + 0x11], 0
mov dword [ebp + 0xc], eax
je 0x100d4f09
test eax, eax
jne 0x100d4fa6
lea eax, [ebp + 0xc]
test esi, esi
push eax
setne al
add al, 3
push esi
movzx eax, al
push eax
push ebx
push edi
call fcn.100f5520
mov esi, dword [ebp + 0xc]
add esp, 0x14
test esi, esi
je 0x100d4f14
mov edx, dword [ebp - 8]
test edx, edx
je 0x100d4f0c
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100d4f6c
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10158ec0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x100d4fa6
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
bswap eax
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100d4f80
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100d4f77
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10158ec0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x100d4f80
push edx
call fcn.10120f40
add esp, 4
jmp 0x100d4f0c
push edx
call fcn.10120f40
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x1c], ecx
mov dword [ecx], 0
mov edi, dword [eax + 0x38]
mov eax, dword [ebp + 8]
add edi, 4
mov esi, dword [eax + 0x28]
sub esi, 4
jmp 0x100d4d92
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x100d5006
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100d4ffd
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10158ec0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov eax, dword [ebp + 0xc]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
call fcn.10120f40
add esp, 4
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x100d506f
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100d5066
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.10158ec0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
call fcn.10120f40
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret