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

Disassembly:
sub esp, 0x118
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x134]
or eax, 0xffffffff
push ebx
mov ebx, dword [esp + 0x130]
push ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x130]
push esi
mov esi, dword [esp + 0x128]
lea ebp, [ecx + eax]
push edi
xor edi, edi
lea eax, [ebp - 1]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb8], eax
test ebx, 0xfe0f5a6f
je 0x44762e
lea eax, [edi - 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
cmp esi, edi
je 0x44804c
cmp ecx, edi
je 0x44804c
cmp dword [esp + 0x140], edi
jne 0x44764f
cmp edx, edi
jg 0x44804c
cmp edx, edi
jge 0x447663
mov eax, 0xfffffff1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov eax, 0x989680
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0xa8], edi
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x44768a
mov dword [esp + 0x14], 0x480cc8
cmp dword [esi], 0x50435245
je 0x4476c2
lea ecx, [esp + 0xd8]
push ecx
push edi
lea edx, [esp + 0x108]
push edx
push esi
call fcn.0043b33f
mov esi, eax
add esp, 0x10
cmp esi, edi
jne 0x4476c2
mov eax, 0xfffffffc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov eax, dword [esi + 8]
movzx edx, word [esi + 0x1c]
movzx edi, al
shr eax, 0x12
and eax, 1
mov dword [esp + 0xc0], eax
movzx eax, word [esi + 0x1a]
imul edx, eax
movzx eax, word [esi + 0x18]
add edx, dword [esp + 0x12c]
movzx ecx, bl
add eax, edx
mov edx, dword [esp + 0x134]
or edi, ecx
movzx ecx, byte [esi + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x80], eax
add eax, edx
mov dword [esp + 0x84], eax
mov dword [esp + 0xc4], eax
shr ecx, 3
and ecx, 1
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x98], ecx
movzx eax, byte [esi + 8]
shr eax, 5
and eax, 1
mov dword [esp + 0x68], eax
mov ecx, dword [esi + 8]
shr ecx, 0xb
and ecx, 1
mov dword [esp + 0x60], ecx
mov eax, dword [esi + 8]
shr eax, 0x19
and eax, 1
mov dword [esp + 0x64], eax
shr edi, 4
and edi, 1
mov eax, 0
test bl, 0x80
setne al
xor edx, edx
mov dword [esp + 0xd4], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x58], eax
mov eax, ebx
shr eax, 8
and eax, 1
mov dword [esp + 0x5c], eax
mov eax, ebx
shr eax, 0xa
and eax, 1
mov dword [esp + 0x6c], eax
mov eax, ebx
shr eax, 0xf
and eax, 1
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
add eax, 0x340
mov dword [esp + 0x50], eax
mov eax, ebx
and eax, 0x1800000
je 0x4477f5
cmp eax, 0x800000
je 0x4477eb
cmp eax, 0x1000000
je 0x44780b
mov eax, 0xffffffe9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov dword [esp + 0x78], 1
jmp 0x44780f
mov eax, dword [esi + 8]
test eax, 0x1800000
je 0x44780b
shr eax, 0x17
and eax, 1
mov dword [esp + 0x78], eax
jmp 0x44780f
mov dword [esp + 0x78], edx
test ebx, 0x700000
jne 0x44781c
mov eax, dword [esi + 8]
jmp 0x44781e
mov eax, ebx
and eax, 0x700000
cmp eax, 0x300000
ja 0x447875
je 0x44786e
cmp eax, edx
je 0x44783e
cmp eax, 0x100000
je 0x447867
cmp eax, 0x200000
jne 0x4477db
mov eax, 0xa
cmp eax, 0xff
mov dword [esp + 0x40], edx
jle 0x44789b
mov edx, eax
sar edx, 8
mov byte [esp + 0x48], dl
mov dword [esp + 0x44], 2
mov byte [esp + 0x49], al
xor edx, edx
jmp 0x4478a7
mov eax, 0xd
jmp 0x447843
mov eax, 0xd0a
jmp 0x447843
cmp eax, 0x400000
je 0x447891
cmp eax, 0x500000
jne 0x4477db
mov dword [esp + 0x40], 2
jmp 0x4478a7
mov dword [esp + 0x40], 1
jmp 0x4478a7
mov dword [esp + 0x44], 1
mov byte [esp + 0x48], al
cmp dword [esp + 0x70], edx
je 0x4478c3
test byte [esi + 0xc], 1
je 0x4478c3
mov eax, 0xfffffff3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
cmp ecx, edx
je 0x447931
test ebx, 0x2000
jne 0x447931
mov ebx, dword [esp + 0x134]
mov eax, dword [esp + 0x130]
push ebx
push eax
call fcn.00433bb1
add esp, 8
test eax, eax
jl 0x4478fb
mov eax, 0xfffffff6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov eax, dword [esp + 0x138]
test eax, eax
jle 0x447931
cmp eax, ebx
jge 0x447931
movzx eax, byte [ebp]
cmp eax, 0x7f
jle 0x447931
and eax, 0xc0
je 0x447931
cmp eax, 0xc0
je 0x447931
mov eax, 0xfffffff5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov eax, dword [esi + 8]
and eax, 7
mov dword [esp + 0xd0], eax
mov eax, 0x55555556
imul dword [esp + 0x144]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebx, [eax + eax*2]
movzx eax, word [esi + 0x12]
test ax, ax
jbe 0x4479a9
movzx ecx, ax
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x4479a9
lea ebx, [ecx + ecx*2 + 3]
lea ecx, [ebx*4]
push ecx
call dword [0x48c650]
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jne 0x44799f
mov eax, 0xfffffffa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov dword [esp + 0x20], 1
jmp 0x4479b4
mov edx, dword [esp + 0x140]
mov dword [esp + 0x34], edx
lea ecx, [ebx + ebx]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x94], 0xffffffff
movzx eax, word [esi + 0x10]
lea eax, [eax + eax + 2]
cmp eax, dword [esp + 0x144]
mov dword [esp + 0xbc], eax
jle 0x4479ff
mov eax, ebx
mov dword [esp + 0xbc], ebx
mov edx, dword [esp + 0x34]
cmp edx, ecx
je 0x447a35
lea ebx, [edx + ebx*4]
cdq
sub eax, edx
sar eax, 1
mov edx, 1
sub edx, eax
lea eax, [ebx + edx*4]
sub ebx, 4
cmp ebx, eax
jb 0x447a35
jmp 0x447a28
mov dword [ebx], 0xffffffff
sub ebx, 4
cmp ebx, eax
jae 0x447a28
cmp edi, ecx
jne 0x447a69
test byte [esi + 0xc], 2
je 0x447a69
movzx eax, word [esi + 0x14]
movzx edx, al
mov dword [esp + 0x1c], edx
test eax, 0x100
je 0x447b31
mov eax, dword [esp + 0x4c]
movzx ecx, byte [eax + edx]
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], ecx
test byte [esi + 0xc], 4
je 0x447aa8
movzx eax, word [esi + 0x16]
mov edx, dword [esp + 0x14]
movzx ecx, al
shr eax, 8
and eax, 1
mov dword [esp + 0xb0], eax
movzx eax, byte [edx + ecx + 0x100]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xb4], eax
jmp 0x447aa8
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x14], ebx
test edi, edi
je 0x447ad5
mov ecx, dword [esp + 0xbc]
lea ecx, [edi + ecx*4]
cmp edi, ecx
jae 0x447ad5
sub ecx, edi
dec ecx
shr ecx, 2
inc ecx
or eax, 0xffffffff
rep stosd dword es:[edi], eax
cmp dword [esp + 0xc0], 0
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x44]
je 0x447bc8
cmp dword [esp + 0x18], 0
mov edi, ebp
je 0x447b72
cmp ebp, eax
jae 0x447bc6
mov edx, dword [esp + 0x40]
test edx, edx
je 0x447b3a
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
push ecx
push eax
push edx
push edi
call fcn.00433e39
mov ecx, dword [esp + 0x58]
add esp, 0x14
test eax, eax
jne 0x447bc6
mov eax, dword [esp + 0x84]
jmp 0x447b58
mov dword [esp + 0x24], ecx
jmp 0x447a69
mov edx, eax
sub edx, ecx
cmp edi, edx
ja 0x447b58
mov dl, byte [edi]
cmp dl, byte [esp + 0x48]
jne 0x447b58
cmp ecx, 1
je 0x447bc6
mov dl, byte [edi + 1]
cmp dl, byte [esp + 0x49]
je 0x447bc6
inc edi
cmp edi, ebx
jae 0x447b6c
mov dl, byte [edi]
and dl, 0xc0
cmp dl, 0x80
jne 0x447b6c
inc edi
cmp edi, ebx
jb 0x447b5d
cmp edi, eax
jb 0x447aff
jmp 0x447bc6
cmp ebp, eax
jae 0x447bc6
mov edi, edi
mov edx, dword [esp + 0x40]
test edx, edx
je 0x447ba3
push 0
lea ecx, [esp + 0x48]
push ecx
push eax
push edx
push edi
call fcn.00433e39
mov ecx, dword [esp + 0x58]
add esp, 0x14
test eax, eax
jne 0x447bc6
mov eax, dword [esp + 0x84]
jmp 0x447bc1
mov edx, eax
sub edx, ecx
cmp edi, edx
ja 0x447bc1
mov dl, byte [esp + 0x48]
cmp byte [edi], dl
jne 0x447bc1
cmp ecx, 1
je 0x447bc6
mov dl, byte [esp + 0x49]
cmp byte [edi + 1], dl
je 0x447bc6
inc edi
cmp edi, eax
jb 0x447b78
mov ebx, edi
mov edi, dword [esp + 0x1c]
test edi, edi
jl 0x447c2e
cmp dword [esp + 0x24], 0
je 0x447c06
cmp ebp, ebx
jae 0x447d5d
jmp 0x447be8
movzx eax, byte [ebp]
mov ecx, dword [esp + 0x4c]
movzx edx, byte [eax + ecx]
cmp edx, edi
je 0x447d5d
inc ebp
cmp ebp, ebx
jb 0x447be8
jmp 0x447d5d
cmp ebp, ebx
jae 0x447d5d
jmp 0x447c18
movzx eax, byte [ebp]
cmp eax, edi
je 0x447d5d
inc ebp
cmp ebp, ebx
jb 0x447c18
jmp 0x447d5d
cmp dword [esp + 0xcc], 0
je 0x447d5d
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x80]
add edx, eax
cmp ebp, edx
jbe 0x447d5d
cmp dword [esp + 0x18], 0
je 0x447ce3
cmp ebp, ebx
jae 0x447d3e
jmp 0x447c70
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x40]
test edx, edx
je 0x447c9f
cmp ebp, eax
jbe 0x447cc8
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
push ecx
push eax
push edx
push ebp
call fcn.00433ce8
add esp, 0x14
test eax, eax
jne 0x447d3e
mov ecx, dword [esp + 0x44]
jmp 0x447cc8
lea edx, [ecx + eax]
cmp ebp, edx
jb 0x447cc8
mov eax, ebp
sub eax, ecx
mov dl, byte [eax]
cmp dl, byte [esp + 0x48]
jne 0x447cc8
cmp ecx, 1
je 0x447d3e
mov dl, byte [esp + 0x49]
cmp byte [eax + 1], dl
je 0x447d3e
inc ebp
cmp ebp, ebx
jae 0x447d3e
mov al, byte [ebp]
and al, 0xc0
cmp al, 0x80
jne 0x447cdd
inc ebp
cmp ebp, ebx
jb 0x447ccd
jmp 0x447d3e
cmp ebp, ebx
jb 0x447c69
jmp 0x447d3e
cmp ebp, ebx
jae 0x447d3e
jmp 0x447cf0
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x40]
test edx, edx
je 0x447d18
cmp ebp, eax
jbe 0x447d39
push 0
lea ecx, [esp + 0x48]
push ecx
push eax
push edx
push ebp
call fcn.00433ce8
add esp, 0x14
test eax, eax
jne 0x447d3e
mov ecx, dword [esp + 0x44]
jmp 0x447d39
lea edx, [ecx + eax]
cmp ebp, edx
jb 0x447d39
mov eax, ebp
sub eax, ecx
mov dl, byte [eax]
cmp dl, byte [esp + 0x48]
jne 0x447d39
cmp ecx, 1
je 0x447d3e
mov dl, byte [esp + 0x49]
cmp byte [eax + 1], dl
je 0x447d3e
inc ebp
cmp ebp, ebx
jb 0x447ce9
cmp byte [ebp - 1], 0xd
jne 0x447d5d
mov eax, dword [esp + 0x40]
cmp eax, 1
je 0x447d52
cmp eax, 2
jne 0x447d5d
cmp ebp, ebx
jae 0x447d5d
cmp byte [ebp], 0xa
jne 0x447d5d
inc ebp
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xc4], ebx
test edx, edx
jl 0x447e17
mov eax, ebx
sub eax, ebp
cmp eax, 0x3e8
jge 0x447e17
cmp dword [esp + 0x70], 0
jne 0x447e17
xor eax, eax
test edi, edi
setge al
add eax, ebp
cmp eax, dword [esp + 0xb8]
jbe 0x447e17
cmp dword [esp + 0xb0], 0
je 0x447df9
cmp eax, ebx
jae case.0x447e65.999
lea esp, [esp]
movzx ecx, byte [eax]
inc eax
cmp ecx, edx
je 0x447e0b
cmp ecx, dword [esp + 0xb4]
je 0x447e0b
cmp eax, ebx
jb 0x447db8
xor ebx, ebx
cmp dword [esp + 0x20], 0
je 0x447de4
mov edx, dword [esp + 0x34]
push edx
call dword [0x48c654]
add esp, 4
test ebx, ebx
je 0x448020
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
cmp eax, ebx
jae case.0x447e65.999
movzx ecx, byte [eax]
inc eax
cmp ecx, edx
je 0x447e0b
cmp eax, ebx
jb 0x447dfd
jmp case.0x447e65.999
dec eax
cmp eax, ebx
jae case.0x447e65.999
mov dword [esp + 0xb8], eax
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0x7c]
push 0
push 0
push 0
push edx
lea eax, [esp + 0x38]
push eax
push 2
push ebp
push ecx
push ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0x4c], 0
call fcn.0043b44e
mov ebx, eax
add esp, 0x24
test ebx, ebx
jg case.default.0x447e65
je case.0x447e65.998
lea eax, [ebx + 0x3e7]
cmp eax, 3
ja case.default.0x447e65
jmp dword [eax*4 + 0x44805c]
mov edi, dword [esp + 0x88]
jmp 0x447e97
cmp dword [esp + 0x18], 0
lea edi, [ebp + 1]
je 0x447e97
mov eax, dword [esp + 0x14]
cmp edi, eax
jae 0x447e97
nop
mov dl, byte [edi]
and dl, 0xc0
cmp dl, 0x80
jne 0x447e97
inc edi
cmp edi, eax
jb 0x447e88
mov ecx, dword [esp + 0x40]
xor ebx, ebx
cmp dword [esp + 0xc0], ebx
je 0x447f08
test ecx, ecx
je 0x447ed8
mov eax, dword [esp + 0x84]
cmp ebp, eax
jae 0x447f08
mov edx, dword [esp + 0x18]
push edx
lea edx, [esp + 0x48]
push edx
push eax
push ecx
push ebp
call fcn.00433e39
add esp, 0x14
test eax, eax
jne 0x447dcf
mov ecx, dword [esp + 0x40]
jmp 0x447f08
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x44]
sub edx, eax
cmp ebp, edx
ja 0x447f08
mov dl, byte [esp + 0x48]
cmp byte [ebp], dl
jne 0x447f08
cmp eax, 1
je 0x447dcf
mov al, byte [esp + 0x49]
cmp byte [ebp + 1], al
je 0x447dcf
cmp dword [esp + 0xd4], 0
mov ebp, edi
jne 0x447dcf
mov eax, dword [esp + 0x14]
cmp edi, eax
ja 0x447dcf
cmp byte [edi - 1], 0xd
jne 0x447aa8
cmp edi, eax
jae 0x447aa8
cmp byte [edi], 0xa
jne 0x447aa8
test byte [esi + 0xc], 0x20
jne 0x447aa8
cmp ecx, 1
je 0x447f61
mov eax, 2
cmp ecx, eax
je 0x447f61
cmp dword [esp + 0x44], eax
jne 0x447aa8
lea ebp, [edi + 1]
jmp 0x447aa8
cmp ebx, 1
jne 0x447dcf
cmp dword [esp + 0x20], 0
mov esi, dword [esp + 0x144]
je 0x447fc7
cmp esi, 4
jl 0x447fa8
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x140]
lea ecx, [esi*4 - 8]
push ecx
add edx, 8
push edx
add eax, 8
push eax
call fcn.00412960
add esp, 0xc
cmp dword [esp + 0x90], esi
jle 0x447fb9
mov dword [esp + 0x54], 1
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x48c654]
add esp, 4
cmp dword [esp + 0x54], 0
je 0x447fd2
xor eax, eax
jmp 0x447fde
mov eax, dword [esp + 0x90]
cdq
sub eax, edx
sar eax, 1
cmp esi, 2
jge 0x447ff0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x88]
mov edx, dword [esp + 0x140]
sub esi, ecx
mov dword [edx], esi
mov esi, dword [esp + 0x8c]
sub esi, ecx
mov dword [edx + 4], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
cmp dword [esp + 0x70], 0
je 0x44803e
cmp dword [esp + 0x74], 0
je 0x44803e
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x118
ret