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

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [esp + 0x110]
xor cl, cl
xor ch, ch
mov byte [esp + 0x12], cl
push ebp
mov ebp, dword [esp + 0x11c]
xor eax, eax
mov byte [esp + 0xb], ch
xor edx, edx
mov byte [esp + 0x17], cl
mov byte [esp + 0xa], ch
mov ecx, dword [esp + 0x124]
mov dword [esp + 0xf8], eax
push esi
push edi
lea eax, [ecx + ebp]
mov dword [esp + 0x40], 0
mov esi, eax
mov dword [esp + 0x110], eax
xor edi, edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x114], edi
mov edi, dword [esp + 0x128]
mov dword [esp + 0x104], 0
lea eax, [esi - 1]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
test ebx, ebx
jne 0x43cb39
mov edx, dword [esp + 0x120]
test edx, edx
jne 0x43cb39
test ebp, ebp
jne 0x43cb39
cmp edi, 0xfffffc19
jne 0x43cb39
cmp ecx, edi
jne 0x43cb39
push edx
push edx
push edx
push edx
push edx
push edx
push edx
call fcn.0042f2d0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
mov edx, dword [esp + 0x130]
test edx, 0xe20f5a6f
je 0x43cb58
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x108
ret
test ebx, ebx
je 0x43d9ad
test ebp, ebp
je 0x43d9ad
mov ebp, dword [esp + 0x134]
mov eax, dword [esp + 0x138]
test ebp, ebp
jne 0x43cb82
test eax, eax
jg 0x43d9ad
test eax, eax
jns 0x43cb96
pop edi
pop esi
pop ebp
mov eax, 0xfffffff1
pop ebx
add esp, 0x108
ret
test edi, edi
jns 0x43cbaa
pop edi
pop esi
pop ebp
mov eax, 0xffffffe0
pop ebx
add esp, 0x108
ret
test ecx, ecx
js 0x43d99d
cmp ecx, edi
jg 0x43d99d
mov ecx, dword [ebx]
cmp ecx, 0x50435245
je 0x43cbe2
pop edi
pop esi
cmp ecx, 0x45524350
mov eax, 0xfffffffc
mov edx, 0xffffffe3
pop ebp
cmove eax, edx
pop ebx
add esp, 0x108
ret
test byte [ebx + 0xc], 1
jne 0x43cbf8
pop edi
pop esi
pop ebp
mov eax, 0xffffffe4
pop ebx
add esp, 0x108
ret
mov ecx, dword [ebx + 8]
mov eax, 0
and ecx, 0x800
mov dword [esp + 0x38], ecx
setne al
mov dword [esp + 0x24], eax
mov dword [esp + 0x90], eax
test edx, 0x8000000
je 0x43cc27
mov eax, 2
jmp 0x43cc2f
mov eax, edx
shr eax, 0xf
and eax, 1
mov dword [esp + 0xcc], eax
test ecx, ecx
je 0x43ccc4
test edx, 0x2000
jne 0x43ccc4
lea eax, [esp + 0x28]
push eax
push edi
push dword [esp + 0x12c]
call fcn.0043fc50
add esp, 0xc
test eax, eax
je 0x43cc9b
cmp dword [esp + 0x138], 2
jl 0x43cc73
mov ecx, dword [esp + 0x28]
mov dword [ebp], ecx
mov dword [ebp + 4], eax
cmp eax, 5
jg 0x43cc8b
cmp dword [esp + 0xcc], 1
mov eax, 0xffffffe7
jg 0x43d9b2
pop edi
pop esi
pop ebp
mov eax, 0xfffffff6
pop ebx
add esp, 0x108
ret
mov eax, dword [esp + 0x12c]
test eax, eax
jle 0x43ccc4
cmp eax, edi
jge 0x43ccc4
mov eax, esi
mov al, byte [eax]
and al, 0xc0
cmp al, 0x80
jne 0x43ccc4
pop edi
pop esi
pop ebp
mov eax, 0xfffffff5
pop ebx
add esp, 0x108
ret
movzx eax, word [ebx + 0x22]
mov ecx, 0x989680
movzx ebp, word [ebx + 0x24]
add eax, ebx
mov dword [esp + 0x74], eax
mov edx, ecx
movzx eax, word [ebx + 0x26]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0xec], 0
test eax, eax
je 0x43cd68
mov ebx, dword [eax]
test bl, 1
je 0x43cd27
mov edi, dword [eax + 4]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x128]
test bl, 2
je 0x43cd33
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
test bl, 0x10
je 0x43cd3f
mov edx, dword [eax + 0x14]
mov dword [esp + 0x4c], edx
test bl, 4
je 0x43cd55
mov eax, dword [eax + 0xc]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x120]
test bl, 8
mov ebx, dword [esp + 0x11c]
je 0x43cd68
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], eax
mov ebx, dword [ebx + 0xc]
test ebx, 0x2000
je 0x43cd86
mov eax, dword [esp + 0x11c]
mov eax, dword [eax + 0x10]
cmp eax, ecx
cmovb ecx, eax
mov dword [esp + 0x48], ecx
test ebx, 0x4000
je 0x43cda1
mov eax, dword [esp + 0x11c]
mov eax, dword [eax + 0x14]
cmp eax, edx
cmovb edx, eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x18]
mov ecx, 0x496328
test eax, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0xa8], 0
cmovne ecx, eax
mov dword [esp + 0xf4], 0
mov eax, dword [esp + 0x11c]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 8]
mov eax, edx
or eax, dword [esp + 0x130]
shr eax, 4
and eax, 1
mov dword [esp + 0x10c], eax
mov eax, ebx
shr eax, 8
and eax, 1
mov ebx, dword [esp + 0x11c]
mov dword [esp + 0xfc], eax
mov eax, edx
shr eax, 0x12
and eax, 1
mov dword [esp + 0x108], eax
movzx eax, word [ebx + 0x26]
imul ebp, eax
movzx eax, word [ebx + 0x22]
add ebp, eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xd8], eax
add ebp, ebx
mov eax, edx
mov dword [esp + 0xb4], ebp
shr eax, 5
and eax, 1
mov ebp, dword [esp + 0x130]
mov dword [esp + 0x9c], eax
mov eax, edx
shr eax, 0x1d
and eax, 1
mov ebx, dword [esp + 0x124]
mov dword [esp + 0x98], eax
mov eax, edx
shr eax, 0x19
and eax, 1
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x94], eax
add ebx, edi
mov eax, ebp
mov dword [esp + 0xbc], ebx
shr eax, 7
mov edi, ebx
and eax, 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x88], eax
mov eax, ebp
shr eax, 8
and eax, 1
mov dword [esp + 0x8c], eax
mov eax, ebp
shr eax, 0xa
and eax, 1
mov dword [esp + 0xa0], eax
mov eax, ebp
shr eax, 0x1c
and eax, 1
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x11c]
mov eax, dword [eax + 0xc]
shr eax, 0xc
and eax, 1
mov dword [esp + 0xb0], eax
lea eax, [ecx + 0x100]
mov dword [esp + 0x80], eax
lea eax, [ecx + 0x340]
mov dword [esp + 0x84], eax
mov eax, ebp
and eax, 0x1800000
je 0x43cf42
cmp eax, 0x800000
je 0x43cf35
cmp eax, 0x1000000
je 0x43cf5b
pop edi
pop esi
pop ebp
mov eax, 0xffffffe9
pop ebx
add esp, 0x108
ret
mov dword [esp + 0xac], 1
jmp 0x43cf66
test edx, 0x1800000
je 0x43cf5b
mov eax, edx
shr eax, 0x17
and eax, 1
mov dword [esp + 0xac], eax
jmp 0x43cf66
mov dword [esp + 0xac], 0
test ebp, 0x700000
mov eax, ebp
cmove eax, edx
and eax, 0x700000
cmp eax, 0x300000
ja 0x43cfe9
je 0x43cfcf
test eax, eax
je 0x43cfb5
cmp eax, 0x100000
je 0x43cf9b
cmp eax, 0x200000
jne 0x43cf25
mov dword [esp + 0x5c], 0
jmp 0x43cfbb
mov ecx, 0xd
xor eax, eax
mov ebp, 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebp
mov byte [esp + 0x78], cl
jmp 0x43d00f
xor eax, eax
mov dword [esp + 0x5c], eax
mov ecx, 0xa
mov ebp, 1
mov dword [esp + 0x60], ebp
mov byte [esp + 0x78], cl
jmp 0x43d00f
mov ebp, 2
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ebp
mov word [esp + 0x78], 0xa0d
jmp 0x43d00f
cmp eax, 0x400000
je 0x43d002
cmp eax, 0x500000
jne 0x43cf25
mov eax, 2
jmp 0x43d007
mov eax, 1
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
cmp dword [esp + 0xcc], 0
je 0x43d039
mov eax, dword [esp + 0x11c]
test dword [eax + 0xc], 0x200
je 0x43d039
pop edi
pop esi
pop ebp
mov eax, 0xfffffff3
pop ebx
add esp, 0x108
ret
mov eax, 0x55555556
imul dword [esp + 0x138]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov dword [esp + 0x14], eax
lea ecx, [eax + eax]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x11c]
movzx eax, word [eax + 0x20]
test ax, ax
je 0x43d0e1
mov edi, dword [esp + 0x11c]
mov eax, 0x55555556
imul dword [esp + 0x14]
movzx ecx, word [edi + 0x20]
mov edi, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x43d0e1
inc ecx
lea eax, [ecx + ecx*2]
mov dword [esp + 0x14], eax
shl eax, 2
push eax
call dword [0x4b00b0]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], eax
test eax, eax
jne 0x43d0cc
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x108
ret
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x40], 1
jmp 0x43d0f0
mov eax, dword [esp + 0x134]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov dword [esp + 0xd4], 0
lea ecx, [eax + eax]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
test edx, edx
je 0x43d1b3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x11c]
lea ecx, [edx + ecx*4]
movzx eax, word [eax + 0x1e]
mov edi, ecx
shl eax, 2
sub edi, eax
lea eax, [edx + 8]
cmp edi, eax
cmovb edi, eax
sub ecx, 4
mov eax, edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x20]
cmp ecx, eax
jb 0x43d17c
nop word [eax + eax]
mov dword [ecx], 0xffffffff
sub ecx, 4
cmp ecx, eax
jae 0x43d160
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x138]
test eax, eax
jle 0x43d19c
mov dword [edx], 0xffffffff
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
cmp eax, 1
jle 0x43d1b3
mov dword [edx + 4], 0xffffffff
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x60]
cmp dword [esp + 0x10c], 0
mov edx, dword [esp + 0x11c]
jne 0x43d219
mov eax, dword [edx + 0xc]
test al, 0x10
je 0x43d1f7
mov ch, byte [edx + 0x18]
mov dword [esp + 0x30], 1
mov cl, ch
mov byte [esp + 0x13], ch
mov byte [esp + 0x1e], cl
test al, 0x20
je 0x43d219
mov eax, dword [esp + 0x80]
movzx ecx, ch
mov ch, byte [ecx + eax]
mov byte [esp + 0x13], ch
jmp 0x43d219
cmp dword [esp + 0xfc], 0
jne 0x43d219
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43d219
test byte [eax + 4], 1
je 0x43d219
add eax, 8
mov dword [esp + 0x100], eax
mov eax, dword [edx + 0xc]
test al, 0x40
je 0x43d250
mov ch, byte [edx + 0x1a]
mov dword [esp + 0x104], 1
mov cl, ch
mov byte [esp + 0x12], ch
mov byte [esp + 0x1f], cl
test al, al
jns 0x43d250
mov eax, dword [esp + 0x80]
movzx ecx, ch
mov ch, byte [ecx + eax]
mov byte [esp + 0x12], ch
nop dword [eax]
cmp dword [esp + 0x108], 0
mov ecx, edi
mov dword [esp + 0x14], ecx
je 0x43d35b
cmp dword [esp + 0x38], 0
mov edi, esi
je 0x43d2f8
cmp esi, ebx
jae 0x43d35b
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
test ecx, ecx
je 0x43d2ba
cmp edi, ebx
jae 0x43d2e0
push dword [esp + 0x24]
lea eax, [esp + 0x64]
push eax
push ebx
push ecx
push edi
call fcn.0043f900
mov ebp, dword [esp + 0x74]
add esp, 0x14
test eax, eax
jne 0x43d354
mov ebx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
jmp 0x43d2e0
mov eax, ebx
sub eax, ebp
cmp edi, eax
ja 0x43d2e0
mov al, byte [edi]
cmp al, byte [esp + 0x78]
jne 0x43d2e0
cmp ebp, 1
je 0x43d354
mov al, byte [edi + 1]
cmp al, byte [esp + 0x79]
je 0x43d354
inc edi
cmp edi, edx
jae 0x43d2f2
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x43d2f2
inc edi
cmp edi, edx
jb 0x43d2e5
cmp edi, ebx
jb 0x43d281
jmp 0x43d354
cmp esi, ebx
jae 0x43d35b
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x43d331
cmp edi, ebx
jae 0x43d34f
push dword [esp + 0x24]
lea eax, [esp + 0x64]
push eax
push ebx
push ecx
push edi
call fcn.0043f900
mov ebp, dword [esp + 0x74]
add esp, 0x14
test eax, eax
jne 0x43d354
mov ebx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x5c]
jmp 0x43d34f
mov eax, ebx
sub eax, ebp
cmp edi, eax
ja 0x43d34f
mov al, byte [edi]
cmp al, byte [esp + 0x78]
jne 0x43d34f
cmp ebp, 1
je 0x43d354
mov al, byte [edi + 1]
cmp al, byte [esp + 0x79]
je 0x43d354
inc edi
cmp edi, ebx
jb 0x43d300
mov edx, dword [esp + 0x11c]
mov eax, dword [edx + 8]
or eax, dword [esp + 0x130]
test eax, 0x4000000
jne 0x43d522
cmp dword [esp + 0x30], 0
je 0x43d3c6
mov cl, byte [esp + 0x1e]
mov dl, byte [esp + 0x13]
cmp cl, dl
je 0x43d3ac
cmp esi, edi
jae 0x43d522
nop dword [eax + eax]
mov al, byte [esi]
cmp al, cl
je 0x43d522
cmp al, dl
je 0x43d522
inc esi
cmp esi, edi
jb 0x43d390
jmp 0x43d522
cmp esi, edi
jae 0x43d522
cmp byte [esi], cl
je 0x43d522
inc esi
cmp esi, edi
jb 0x43d3b4
jmp 0x43d522
cmp dword [esp + 0xfc], 0
je 0x43d4f7
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0xb8]
add eax, ecx
cmp esi, eax
jbe 0x43d522
cmp dword [esp + 0x38], 0
je 0x43d476
cmp esi, edi
jae 0x43d4d7
nop
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x43d435
cmp esi, ecx
jbe 0x43d45e
push dword [esp + 0x24]
lea edx, [esp + 0x64]
push edx
push ecx
push eax
push esi
call fcn.0043fa50
add esp, 0x14
test eax, eax
jne 0x43d4d7
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0xb8]
jmp 0x43d45e
lea eax, [ecx + ebp]
cmp esi, eax
jb 0x43d45e
mov edx, esi
sub edx, ebp
mov al, byte [edx]
cmp al, byte [esp + 0x78]
jne 0x43d45e
cmp ebp, 1
je 0x43d4d7
mov al, byte [edx + 1]
cmp al, byte [esp + 0x79]
je 0x43d4d7
inc esi
cmp esi, edi
jae 0x43d4d7
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x43d400
inc esi
cmp esi, edi
jb 0x43d467
jmp 0x43d4d7
cmp esi, edi
jae 0x43d4d7
mov eax, dword [esp + 0x5c]
nop
test eax, eax
je 0x43d4ad
cmp esi, ecx
jbe 0x43d4d2
push dword [esp + 0x24]
lea edx, [esp + 0x64]
push edx
push ecx
push eax
push esi
call fcn.0043fa50
add esp, 0x14
test eax, eax
jne 0x43d4d7
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0xb8]
jmp 0x43d4ce
lea eax, [ecx + ebp]
cmp esi, eax
jb 0x43d4ce
mov edx, esi
sub edx, ebp
mov al, byte [edx]
cmp al, byte [esp + 0x78]
jne 0x43d4ce
cmp ebp, 1
je 0x43d4d7
mov al, byte [edx + 1]
cmp al, byte [esp + 0x79]
je 0x43d4d7
mov eax, dword [esp + 0x5c]
inc esi
cmp esi, edi
jb 0x43d480
cmp byte [esi - 1], 0xd
jne 0x43d522
mov eax, dword [esp + 0x5c]
cmp eax, 1
je 0x43d4eb
cmp eax, 2
jne 0x43d522
cmp esi, edi
jae 0x43d522
cmp byte [esi], 0xa
jne 0x43d522
inc esi
jmp 0x43d522
mov ebx, dword [esp + 0x100]
test ebx, ebx
je 0x43d522
cmp esi, edi
jae 0x43d522
movzx edx, byte [esi]
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + ebx], al
jne 0x43d522
inc esi
cmp esi, edi
jb 0x43d506
mov eax, dword [esp + 0x11c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov eax, dword [eax + 8]
or eax, dword [esp + 0x130]
test eax, 0x4000000
jne 0x43d5e3
cmp dword [esp + 0xcc], 0
jne 0x43d5e3
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x43d56b
test byte [ecx + 4], 2
je 0x43d56b
mov eax, ebx
sub eax, esi
cmp eax, dword [ecx + 0x28]
jb case.0x43d674.996
cmp dword [esp + 0x104], 0
je 0x43d5e3
mov eax, ebx
sub eax, esi
cmp eax, 0x3e8
jge 0x43d5e3
mov eax, dword [esp + 0x30]
lea ecx, [esi + eax]
cmp ecx, dword [esp + 0x34]
jbe 0x43d5e3
mov dl, byte [esp + 0x1f]
mov al, byte [esp + 0x12]
cmp dl, al
je 0x43d5c3
cmp ecx, ebx
jae case.0x43d674.996
movzx edi, dl
movzx edx, byte [ecx]
mov ebp, ecx
inc ecx
mov dword [esp + 0x34], ebp
cmp edx, edi
je 0x43d5df
movzx eax, al
cmp edx, eax
je 0x43d5df
cmp ecx, ebx
jae case.0x43d674.996
mov al, byte [esp + 0x12]
jmp 0x43d5a4
cmp ecx, ebx
jae case.0x43d674.996
mov al, byte [ecx]
mov ebp, ecx
inc ecx
mov dword [esp + 0x34], ebp
cmp al, dl
je 0x43d5df
cmp ecx, ebx
jb 0x43d5c7
xor ebp, ebp
jmp 0x43d834
cmp ebp, ebx
jae case.0x43d674.996
push 0
push 0
lea eax, [esp + 0x4c]
mov dword [esp + 0xc8], esi
push eax
push 2
push esi
push dword [esp + 0xc8]
mov dword [esp + 0xe0], esi
push esi
mov dword [esp + 0x60], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0x88], 0
call fcn.0042f2d0
add esp, 0x1c
mov ebp, eax
cmp dword [esp + 0xa8], 0
je 0x43d65b
cmp dword [esp + 0x3c], 0
jne 0x43d65b
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x114], esi
test ebp, ebp
jg case.default.0x43d674
je case.0x43d674.995
lea eax, [ebp + 0x3e4]
cmp eax, 4
ja case.default.0x43d674
jmp dword [eax*4 + 0x43d9c0]
mov eax, dword [esp + 0x6c]
mov edi, esi
mov dword [esp + 0x70], eax
jmp 0x43d6b5
mov edi, dword [esp + 0xc0]
cmp edi, esi
ja 0x43d6b5
cmp dword [esp + 0x38], 0
lea edi, [esi + 1]
mov dword [esp + 0x70], 0
je 0x43d6b5
cmp edi, ebx
jae 0x43d6b5
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x43d6b5
inc edi
cmp edi, ebx
jb 0x43d6a8
mov eax, dword [esp + 0x5c]
xor ebp, ebp
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x108], ebp
je 0x43d702
test eax, eax
je 0x43d770
cmp esi, ebx
jae 0x43d702
push dword [esp + 0x24]
lea ecx, [esp + 0x64]
push ecx
push ebx
push eax
push esi
call fcn.0043f900
add esp, 0x14
test eax, eax
jne 0x43d830
mov ebx, dword [esp + 0xbc]
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
cmp dword [esp + 0x10c], 0
mov esi, edi
jne 0x43d82c
mov ecx, dword [esp + 0x14]
cmp edi, ecx
ja 0x43d82c
mov edx, dword [esp + 0x11c]
cmp edi, dword [esp + 0x110]
jbe 0x43d75c
cmp byte [edi - 1], 0xd
jne 0x43d75c
cmp edi, ecx
jae 0x43d75c
cmp byte [edi], 0xa
jne 0x43d75c
test dword [edx + 0xc], 0x800
jne 0x43d75c
cmp eax, 1
je 0x43d759
cmp eax, 2
je 0x43d759
cmp ebp, 2
jne 0x43d75c
lea esi, [edi + 1]
mov edi, dword [esp + 0x20]
mov dword [esp + 0xf0], 0
jmp 0x43d250
mov ebp, dword [esp + 0x60]
mov eax, ebx
sub eax, ebp
cmp esi, eax
ja 0x43d79a
mov al, byte [esi]
cmp al, byte [esp + 0x78]
jne 0x43d79a
cmp ebp, 1
je 0x43d82c
mov al, byte [esi + 1]
cmp al, byte [esp + 0x79]
je 0x43d82c
mov eax, dword [esp + 0x5c]
jmp 0x43d706
cmp ebp, 1
je 0x43d7b4
cmp ebp, 0xfffffc19
jne 0x43d834
cmp dword [esp + 0x40], 0
mov edi, dword [esp + 0x28]
je 0x43d805
mov esi, dword [esp + 0x50]
cmp edi, 4
jl 0x43d7e7
lea eax, [edi*4 - 8]
push eax
lea eax, [esi + 8]
push eax
mov eax, dword [esp + 0x13c]
add eax, 8
push eax
call fcn.0044c070
add esp, 0xc
cmp dword [esp + 0xd0], edi
jle 0x43d7fb
or dword [esp + 0xd4], 0x10000
push esi
call dword [0x4b00b4]
add esp, 4
test dword [esp + 0xd4], 0x10000
mov ecx, dword [esp + 0xd0]
je 0x43d8d3
cmp ecx, edi
jl 0x43d8d3
xor edi, edi
jmp 0x43d8dc
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x40], 0
je 0x43d848
push dword [esp + 0x50]
call dword [0x4b00b4]
add esp, 4
test ebp, ebp
je 0x43d85e
cmp ebp, 0xfffffff4
je 0x43d85e
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x108
ret
mov edi, dword [esp + 0x114]
test edi, edi
je 0x43d8a1
mov ecx, dword [esp + 0x138]
cmp ecx, 1
jle 0x43d89a
mov eax, dword [esp + 0x134]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x124]
sub edx, esi
sub ebx, esi
mov dword [eax], edx
mov dword [eax + 4], ebx
cmp ecx, 2
jle 0x43d89a
sub edi, esi
mov dword [eax + 8], edi
mov eax, 0xfffffff4
jmp 0x43d8a4
or eax, 0xffffffff
mov edx, dword [esp + 0x120]
test edx, edx
je 0x43d9b2
test byte [edx], 0x20
je 0x43d9b2
mov edx, dword [edx + 0x18]
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
add esp, 0x108
ret
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov eax, dword [esp + 0x11c]
movzx esi, word [eax + 0x1e]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x134]
sar eax, 1
cmp eax, esi
jg 0x43d945
test edx, edx
je 0x43d945
lea eax, [esi*2 + 2]
cmp eax, dword [esp + 0x138]
lea ecx, [edx + ecx*4]
cmovg eax, dword [esp + 0x138]
xor ebx, ebx
lea eax, [edx + eax*4]
xor edx, edx
mov esi, eax
sub esi, ecx
add esi, 3
shr esi, 2
cmp ecx, eax
cmova esi, ebx
test esi, esi
je 0x43d93e
inc edx
mov dword [ecx], 0xffffffff
lea ecx, [ecx + 4]
cmp edx, esi
jb 0x43d930
mov edx, dword [esp + 0x134]
cmp dword [esp + 0x138], 2
jge 0x43d953
xor edi, edi
jmp 0x43d974
mov eax, dword [esp + 0xc0]
sub eax, dword [esp + 0xb8]
mov dword [edx], eax
mov eax, dword [esp + 0xc4]
sub eax, dword [esp + 0xb8]
mov dword [edx + 4], eax
mov edx, dword [esp + 0x120]
test edx, edx
je 0x43d990
test byte [edx], 0x20
je 0x43d990
mov edx, dword [edx + 0x18]
mov ecx, dword [esp + 0xf0]
mov dword [edx], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffffe8
pop ebx
add esp, 0x108
ret
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret