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

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
xor eax, eax
xor ebx, ebx
mov cl, byte [ebp + 3]
mov esi, dword [ebp + 0x34]
test cl, cl
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
jne 0x1004541e
mov ebx, 4
mov cl, byte [ebp + 4]
mov edi, dword [esp + 0x48]
test cl, cl
je 0x10045464
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
lea eax, [ecx + edx]
cmp eax, 0x80
jae 0x1004544e
mov eax, 1
add dl, cl
and eax, 0xff
mov byte [ebx + edi], dl
add ebx, eax
jmp 0x1004546c
push eax
lea eax, [ebx + edi]
push eax
call fcn.100425b0
and eax, 0xff
add esp, 8
add ebx, eax
jmp 0x1004546c
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
lea eax, [ebx + edi]
push edx
push eax
call fcn.100425f0
lea ecx, [esp + 0x2c]
add ebx, eax
push ecx
push edi
push ebp
call fcn.10036ab0
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov cl, byte [ebp + 2]
add esp, 0x18
add edx, eax
test cl, cl
mov dword [esp + 0x44], edx
je 0x100454bd
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x48], ecx
mov ecx, eax
mov dword [esp + 0x60], ecx
jmp 0x100454f6
mov eax, dword [esp + 0x54]
test eax, eax
jg 0x100456c6
mov eax, dword [esp + 0x50]
jl 0x100454da
cmp eax, 0x7fffffff
ja 0x100456c6
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x100456c6
add edx, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x60], eax
mov ecx, eax
mov eax, dword [esp + 0x3a]
mov ebp, dword [esp + 0x64]
and eax, 0xffff
add ebx, edi
mov dword [ebp], eax
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x36]
and eax, 0xffff
and ebp, 0xffff
add eax, edi
test edx, edx
mov dword [esp + 0x64], eax
jg 0x10045548
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10035ea0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x44]
test ebp, ebp
jne 0x1004562c
mov al, byte [esi + 0x11]
mov edi, dword [esp + 0x10]
test al, al
mov dword [esp + 0x50], edi
je 0x10045584
mov ebx, dword [0x1008ece0]
inc edi
push edi
push esi
call fcn.100361f0
add esp, 8
cmp eax, edi
je 0x10045565
mov eax, ebx
xor edx, edx
div dword [esi + 0x20]
inc eax
cmp edi, eax
je 0x10045565
mov dword [esp + 0x10], edi
push 0
lea ecx, [esp + 0x14]
push edi
lea edx, [esp + 0x20]
push ecx
push edx
push esi
call fcn.10037950
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov edi, eax
mov al, byte [esi + 0x11]
add esp, 0x14
mov dword [esp + 0x4c], edi
test al, al
je 0x100455e5
test edi, edi
jne 0x100456af
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
test eax, eax
setne cl
add cl, 3
push eax
push ecx
push ebp
push esi
call fcn.10036860
mov edi, dword [esp + 0x60]
add esp, 0x14
test edi, edi
je 0x100455ed
push ebx
call fcn.10035ea0
add esp, 4
test edi, edi
jne 0x100456af
mov edx, dword [esp + 0x64]
push ebp
push edx
call fcn.10031290
mov eax, dword [esp + 0x1c]
push eax
call fcn.10035ea0
mov eax, dword [ebx + 0x38]
push 0
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x78], eax
call fcn.10031290
mov ebx, dword [ebx + 0x38]
mov ebp, dword [esi + 0x24]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
add esp, 0x14
add ebx, 4
sub ebp, 4
cmp edx, ebp
jle 0x10045632
mov edx, ebp
test ecx, ecx
jle 0x10045654
cmp edx, ecx
jle 0x1004563c
mov edx, ecx
mov esi, dword [esp + 0x48]
mov ecx, edx
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10045668
mov ecx, edx
xor eax, eax
mov esi, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
add eax, edx
sub esi, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
sub eax, edx
add ebx, edx
sub ebp, edx
mov dword [esp + 0x44], esi
test eax, eax
mov dword [esp + 0x60], eax
jne 0x1004569e
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x44]
test eax, eax
jg 0x1004553c
jmp 0x10045525
mov eax, dword [esp + 0x14]
push eax
call fcn.10035ea0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0xdf12
call fcn.1007d9d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret