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

Disassembly:
sub esp, 0x670
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0
mov dword [esp + 0x30], ebx
call fcn.00436d60
mov esi, dword [esp + 0x688]
mov ebp, dword [esp + 0x684]
push esi
push ebp
lea ecx, [ebx + 0x64]
call fcn.004501a0
push 0x18
push eax
mov ecx, ebx
call fcn.00436cd0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x174]
xor edx, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x68], eax
mov cl, 1
mov dword [esp + 0x6c], eax
test esi, esi
mov dword [esp + 0x70], eax
jbe 0x436efa
xor ecx, ecx
mov cl, byte [eax + ebp]
inc eax
mov edi, ecx
mov cl, 1
cmp eax, esi
mov byte [esp + edi + 0x174], cl
jb 0x436ee5
xor eax, eax
cmp byte [esp + eax + 0x174], 0
je 0x436f14
mov esi, eax
mov byte [esp + edx + 0x74], al
shr esi, 4
inc edx
mov byte [esp + esi + 0x64], cl
inc eax
cmp eax, 0x100
jb 0x436efc
mov dword [esp + 0x1c], edx
xor esi, esi
mov dl, byte [esp + esi + 0x64]
mov ecx, ebx
push edx
call fcn.00436d60
inc esi
cmp esi, 0x10
jb 0x436f22
xor esi, esi
mov eax, esi
shr eax, 4
mov cl, byte [esp + eax + 0x64]
test cl, cl
je 0x436f52
mov cl, byte [esp + esi + 0x174]
push ecx
mov ecx, ebx
call fcn.00436d60
inc esi
cmp esi, 0x100
jb 0x436f36
mov edx, dword [esp + 0x1c]
mov ebp, dword [ebx + 0x368]
add edx, 2
mov ecx, 0x102
xor eax, eax
lea edi, [esp + 0x278]
mov dword [esp + 0x3c], edx
xor esi, esi
rep stosd dword es:[edi], eax
xor edx, edx
mov dword [esp + 0x40], ebp
xor edi, edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx + edi*4]
test eax, eax
jne 0x436f9b
mov eax, dword [esp + 0x688]
mov ecx, dword [esp + 0x684]
mov bl, byte [esp + 0x74]
dec eax
mov cl, byte [eax + ecx]
xor eax, eax
cmp bl, cl
mov byte [esp + 0x33], cl
je 0x436fbd
mov bl, byte [esp + eax + 0x75]
inc eax
cmp bl, cl
jne 0x436fb4
mov ebx, eax
cmp eax, 8
mov dword [esp + 0x1c], ebx
jl 0x43701b
lea ecx, [esp + 0x74]
dec ecx
mov bl, byte [ecx + eax]
mov byte [ecx + eax + 1], bl
mov bl, byte [ecx + eax - 1]
mov byte [ecx + eax], bl
mov bl, byte [ecx + eax - 2]
mov byte [ecx + eax - 1], bl
mov bl, byte [ecx + eax - 3]
mov byte [ecx + eax - 2], bl
mov bl, byte [ecx + eax - 4]
mov byte [ecx + eax - 3], bl
mov bl, byte [ecx + eax - 5]
mov byte [ecx + eax - 4], bl
mov bl, byte [ecx + eax - 6]
mov byte [ecx + eax - 5], bl
mov bl, byte [ecx + eax - 7]
mov byte [ecx + eax - 6], bl
sub eax, 8
cmp eax, 8
jge 0x436fcd
mov ebx, dword [esp + 0x1c]
mov cl, byte [esp + 0x33]
test eax, eax
jle 0x437030
mov bl, byte [esp + eax + 0x73]
mov byte [esp + eax + 0x74], bl
dec eax
test eax, eax
jg 0x43701f
mov ebx, dword [esp + 0x1c]
test ebx, ebx
mov byte [esp + 0x74], cl
jne 0x43703b
inc edx
jmp 0x437091
test edx, edx
je 0x437062
dec edx
mov al, dl
mov ecx, edx
and al, 1
and ecx, 1
mov byte [esi + ebp], al
inc esi
lea eax, [esp + ecx*4 + 0x278]
mov ecx, dword [esp + ecx*4 + 0x278]
inc ecx
shr edx, 1
mov dword [eax], ecx
jne 0x43703f
cmp ebx, 0xfe
jl 0x437078
mov byte [esi + ebp], 0xff
mov al, bl
inc esi
add al, 2
mov byte [esi + ebp], al
jmp 0x43707f
mov cl, bl
inc cl
mov byte [esi + ebp], cl
mov ecx, dword [esp + ebx*4 + 0x27c]
lea eax, [esp + ebx*4 + 0x27c]
inc esi
inc ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x688]
inc edi
cmp edi, eax
jb 0x436f86
test edx, edx
je 0x4370c8
dec edx
mov al, dl
mov ecx, edx
and al, 1
and ecx, 1
mov byte [esi + ebp], al
inc esi
lea eax, [esp + ecx*4 + 0x278]
mov ecx, dword [esp + ecx*4 + 0x278]
inc ecx
shr edx, 1
mov dword [eax], ecx
jne 0x4370a5
mov eax, dword [esp + 0x3c]
cmp eax, 0x100
jge 0x4370dc
mov dl, al
dec dl
mov byte [esi + ebp], dl
jmp 0x4370e4
mov byte [esi + ebp], 0xff
inc esi
mov byte [esi + ebp], al
mov ecx, dword [esp + eax*4 + 0x274]
lea eax, [esp + eax*4 + 0x274]
inc esi
inc ecx
mov dword [eax], ecx
mov dword [esp + 0x38], esi
xor edi, edi
lea eax, [esp + 0x278]
mov ecx, 0x102
mov ebx, dword [eax]
add eax, 4
add edi, ebx
dec ecx
jne 0x437108
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov ebp, 2
mov dword [esp + 0x60], edi
mov ecx, dword [eax + 0x60]
mov eax, 0x51eb851f
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], 0xffffffff
mov edx, dword [ecx]
mov bl, byte [ecx + 8]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x1c], ebp
lea esi, [edx*8 + 8]
mov edx, dword [ecx + 4]
sub esi, edx
lea edx, [edi + 0x31]
mul edx
shr edx, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x4c], edx
jmp 0x437168
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
mov al, byte [edx + 0x49cc]
test al, al
je 0x4371a8
mov eax, esi
and esi, 7
shr eax, 3
mov dword [ecx], eax
mov eax, 8
sub eax, esi
cmp ebp, 6
mov dword [ecx + 4], eax
mov ecx, dword [edx + 0x60]
mov dword [ecx + 4], eax
mov byte [ecx + 8], bl
jg 0x43719e
mov dword [esp + 0x14], ebp
jmp 0x4371ed
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
jmp 0x4371ed
cmp edi, 0xc8
jae 0x4371ba
mov dword [esp + 0x14], 2
jmp 0x4371ed
cmp edi, 0x258
jae 0x4371cc
mov dword [esp + 0x14], 3
jmp 0x4371ed
cmp edi, 0x4b0
jae 0x4371de
mov dword [esp + 0x14], 4
jmp 0x4371ed
cmp edi, 0x960
sbb eax, eax
add eax, 6
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
push 3
push ebx
mov ecx, esi
call fcn.00436cd0
mov edx, dword [esp + 0x4c]
push 0xf
push edx
mov ecx, esi
call fcn.00436cd0
mov ecx, ebx
xor ebp, ebp
mov edx, ecx
mov eax, edi
shl edx, 5
sub edx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebp
lea ecx, [esi + edx*4 + 8]
mov dword [esp + 0x10], ecx
xor edx, edx
xor ecx, ecx
div ebx
mov esi, ebp
test eax, eax
jbe 0x43724d
lea edx, [esp + ebp*4 + 0x278]
mov edi, dword [edx]
add edx, 4
add ecx, edi
inc esi
cmp ecx, eax
jb 0x437241
lea edi, [esi - 1]
cmp edi, ebp
jle 0x437274
cmp ebx, dword [esp + 0x14]
je 0x437274
cmp ebx, 1
je 0x437274
mov edx, dword [esp + 0x18]
and edx, 1
cmp dl, 1
jne 0x437274
mov esi, edi
sub ecx, dword [esp + esi*4 + 0x278]
xor eax, eax
xor edi, edi
jmp 0x43727e
mov ebp, dword [esp + 0x28]
cmp eax, ebp
jl 0x43728a
cmp eax, esi
jge 0x43728a
xor edx, edx
jmp 0x43728f
mov edx, 1
mov ebp, dword [esp + 0x10]
inc eax
add edi, 0x10
mov ebp, dword [ebp]
mov dword [edi + ebp - 4], edx
mov edx, dword [esp + 0x3c]
cmp eax, edx
jl 0x43727a
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ebp, esi
mov esi, dword [esp + 0x18]
sub eax, ecx
dec ebx
inc esi
sub edx, 0x7c
test ebx, ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edx
jne 0x43722e
mov dword [esp + 0x20], 4
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
xor esi, esi
lea edi, [ebp + 0x80]
mov ecx, edi
call fcn.004505e0
inc esi
add edi, 0x7c
cmp esi, ebx
jl 0x4372eb
xor esi, esi
lea eax, [ebp + 0x370]
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
xor edi, edi
lea ecx, [esp + 0x74]
xor eax, eax
mov al, byte [esi + ebp]
inc esi
cmp eax, 0xff
jb 0x43732d
xor ebx, ebx
mov bl, byte [esi + ebp]
add eax, ebx
inc esi
mov dword [ecx], eax
inc edi
add ecx, 4
cmp edi, 0x32
jge 0x43733c
cmp esi, edx
jb 0x437318
mov eax, dword [esp + 0x2c]
xor ebx, ebx
add eax, 0x84
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
xor eax, eax
lea edx, [esp + 0x74]
mov esi, dword [ecx]
xor ecx, ecx
mov ebp, dword [edx]
add edx, 4
shl ebp, 4
add eax, dword [esi + ebp + 0xc]
inc ecx
cmp ecx, edi
jl 0x437365
cmp eax, dword [esp + 0x24]
jae 0x437386
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov byte [edx], bl
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ebx
add ecx, 0x7c
cmp ebx, eax
mov dword [esp + 0x10], ecx
jl 0x437357
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, eax
mov al, byte [ecx + ebp + 0x370]
mov edx, eax
shl edx, 5
sub edx, eax
mov eax, dword [esp + 0x18]
inc ecx
inc eax
lea esi, [ebp + edx*4 + 0x80]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
xor ecx, ecx
lea edx, [esp + 0x74]
mov eax, dword [edx]
mov ebx, dword [esi + 4]
shl eax, 4
add eax, ebx
add edx, 4
mov ebx, dword [eax]
inc ebx
inc ecx
cmp ecx, edi
mov dword [eax], ebx
jl 0x4373cd
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jb 0x43730a
mov ebx, dword [esp + 0x14]
xor edi, edi
lea esi, [ebp + 0x80]
xor edx, edx
xor ecx, ecx
mov eax, dword [esi + 4]
add eax, ecx
cmp dword [eax], 0
jne 0x437414
mov dword [eax], 1
mov eax, dword [esp + 0x3c]
inc edx
add ecx, 0x10
cmp edx, eax
jl 0x437404
lea ecx, [esp + 0x174]
push ecx
mov ecx, esi
call fcn.00450910
inc edi
add esi, 0x7c
cmp edi, ebx
jl 0x437400
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x4372db
xor eax, eax
mov byte [esp + eax + 0x44], al
inc eax
cmp eax, ebx
jl 0x437448
mov al, byte [esp + 0x44]
xor edi, edi
mov bl, byte [edi + ebp + 0x370]
xor esi, esi
cmp al, bl
je 0x437476
push 1
mov ecx, ebp
call fcn.00436d60
mov al, byte [esp + esi + 0x45]
inc esi
cmp al, bl
jne 0x437464
push 0
mov ecx, ebp
call fcn.00436d60
test esi, esi
jle 0x437490
mov dl, byte [esp + esi + 0x43]
mov byte [esp + esi + 0x44], dl
dec esi
test esi, esi
jg 0x437483
mov ecx, dword [esp + 0x4c]
inc edi
mov al, bl
cmp edi, ecx
mov byte [esp + 0x44], al
jb 0x437457
lea eax, [ebp + 0x84]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push 5
mov edi, dword [ecx]
mov ecx, ebp
add edi, 0xc
mov esi, dword [edi]
push esi
call fcn.00436cd0
xor ebx, ebx
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x10]
mov edi, dword [edx]
cmp esi, edi
je 0x4374fd
push 1
mov ecx, ebp
call fcn.00436d60
cmp esi, edi
jae 0x4374ef
push 0
mov ecx, ebp
call fcn.00436d60
inc esi
jmp 0x4374f9
push 1
mov ecx, ebp
call fcn.00436d60
dec esi
cmp esi, edi
jne 0x4374d6
push 0
mov ecx, ebp
call fcn.00436d60
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
inc ebx
add ecx, 0x10
cmp ebx, eax
mov dword [esp + 0x10], ecx
jl 0x4374cc
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc eax
add edx, 0x7c
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
jl 0x4374b1
xor esi, esi
lea eax, [ebp + 0x370]
xor edx, edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], eax
jmp 0x437556
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
xor ecx, ecx
mov cl, byte [esi + edi]
inc esi
cmp ecx, 0xff
mov dword [esp + 0x10], esi
jb 0x437578
xor eax, eax
mov al, byte [esi + edi]
add ecx, eax
inc esi
mov dword [esp + 0x10], esi
test edx, edx
jne 0x4375a0
mov esi, dword [esp + 0x20]
xor eax, eax
mov edx, 0x32
mov al, byte [esi]
mov edi, eax
shl edi, 5
sub edi, eax
inc esi
mov dword [esp + 0x20], esi
lea eax, [ebp + edi*4 + 0x80]
mov dword [esp + 0x34], eax
dec edx
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x34]
shl ecx, 4
mov edx, dword [edx + 4]
add ecx, edx
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 4]
test esi, esi
jle 0x437611
mov ecx, dword [eax + 4]
cmp esi, ecx
jge 0x4375c7
mov ecx, esi
mov dl, byte [eax + 8]
sub esi, ecx
shl dl, cl
mov dword [esp + 0x24], ecx
mov ecx, esi
mov byte [eax + 8], dl
mov edx, edi
shr edx, cl
mov cl, byte [eax + 8]
mov bl, dl
or bl, cl
mov ecx, esi
shl edx, cl
mov ecx, dword [esp + 0x24]
mov byte [eax + 8], bl
sub edi, edx
mov edx, dword [eax + 4]
sub edx, ecx
mov dword [eax + 4], edx
jne 0x43760d
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
mov byte [edx + ecx], bl
mov ecx, dword [eax]
inc ecx
mov dword [eax + 4], 8
mov dword [eax], ecx
test esi, esi
jg 0x4375be
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
cmp eax, edx
jb 0x43754e
mov al, byte [ebp + 0x49cc]
test al, al
je 0x437669
mov ecx, dword [ebp + 0x60]
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x1c]
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
lea eax, [eax*8 + 8]
sub eax, ebx
sub eax, esi
cmp eax, edx
ja 0x43765b
cmp ebp, 6
je 0x437669
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ebp
inc ebp
cmp ebp, 7
mov dword [esp + 0x1c], ebp
jle 0x437160
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x670
ret 8