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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x150
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x134], 0
mov dword [esp + 0x130], 0x6b13
mov byte [esp + 0x12f], 0
mov word [esp + 0x12c], 0x4c95
mov byte [esp + 0x12b], 0xd
mov dx, word [esp + 0x13c]
mov dword [esp + 0x124], 0xf78
mov byte [esp + 0xce], 0x46
mov si, word [esp + 0x12c]
mov di, 0x9beb
sub di, si
mov ebx, dword [esp + 0x140]
mov esi, dword [esp + 0x144]
mov word [esp + 0xd6], di
mov byte [esp + 0xff], 0xe5
mov edi, dword [esp + 0x124]
mov dword [esp + 0x98], eax
mov eax, edi
xor eax, 0x1d1d
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x94]
xor eax, 0x21c2
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x88]
xor eax, 0x52e6
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, 0x721d
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x7c]
sub eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
sbb ecx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov eax, dword [esp + 0x130]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x64], eax
mov eax, 0xc8c6
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x68]
sub eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
sbb ecx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x6c]
sub eax, ecx
setb cl
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
mov byte [esp + 0x53], cl
mov ecx, dword [esp + 0x60]
sub eax, ecx
setb cl
mov ch, byte [esp + 0x53]
mov dword [esp + 0x4c], edi
mov byte [esp + 0x4b], cl
mov word [esp + 0x48], dx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x3b], ch
je 0x4242be
mov al, byte [esp + 0x4b]
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x3b]
test al, al
jne 0x424640
jmp 0x4242cc
mov eax, dword [esp + 0x98]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x104], ecx
mov edx, dword [esp + 0x40]
not edx
mov esi, dword [esp + 0x44]
not esi
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], edx
mov dword [esp], ecx
call fcn.004257c0
mov dword [esp + 0xe8], eax
cmp dword [esp + 0xe8], 0
jne 0x42432d
mov al, byte [esp + 0x12f]
and al, 1
mov byte [esp + 0xd2], al
jmp 0x424893
mov al, 0x10
sub al, byte [esp + 0x12b]
cmp byte [esp + 0xff], al
jb 0x4246ea
cmp dword [esp + 0xa8], 0
jne 0x42435a
mov byte [esp + 0xd2], 1
jmp 0x424893
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0xe8]
mov ecx, dword [ecx + 0xa0]
mov edx, dword [esp + 0x44]
not edx
mov esi, dword [esp + 0x40]
not esi
mov dword [esp + 0x140], esi
mov dword [esp + 0x144], edx
xor eax, 0xf78
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0xe8]
mov ecx, dword [ecx + 0xa4]
mov dword [esp + 0x10c], ecx
cmp dword [esp + 0x10c], eax
jne 0x4243c6
mov al, byte [esp + 0x12f]
and al, 1
mov byte [esp + 0xd2], al
jmp 0x424893
mov ax, 0xc74d
mov ecx, dword [esp + 0x104]
mov dl, byte [esp + 0x12b]
xor dl, 0x2a
mov dword [esp + 0x118], ecx
mov dh, byte [esp + 0x12b]
mov bl, 0x75
sub bl, dh
mov byte [esp + 0xcf], dl
mov ecx, dword [esp + 0x40]
xor ecx, 0x6700
mov esi, dword [esp + 0x44]
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ecx
mov ecx, dword [esp + 0x4c]
add ecx, 0x1b21
sub ax, word [esp + 0x12c]
mov dl, byte [esp + 0xcf]
mov dh, byte [esp + 0xce]
mov dword [esp + 0x138], ecx
mov byte [esp + 0xd3], dl
mov word [esp + 0xae], ax
mov ax, word [esp + 0xae]
mov word [esp + 0xd0], ax
cmp bl, dh
je 0x424640
mov al, 0x7e
mov cl, byte [esp + 0xd3]
sub al, byte [esp + 0x12b]
cmp cl, al
je 0x424499
mov ax, 0x97db
mov cx, word [esp + 0x12c]
mov edx, dword [esp + 0xb0]
sub ax, cx
mov dword [esp + 0x110], edx
cmp ax, word [esp + 0xd0]
je 0x4244ae
mov eax, dword [esp + 0x110]
add eax, dword [esp + 0x118]
mov dword [esp + 0xd8], eax
mov eax, 0xf78
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x124]
add edx, 0xfffff088
mov esi, dword [esp + 0xd8]
mov edi, eax
sub edi, ecx
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x4c]
and esi, esi
mov dword [esp + 0x138], esi
mov bx, word [esp + 0x48]
xor bx, 0x4a65
cmp ecx, edi
seta cl
and cl, 1
movzx esi, cl
mov word [esp + 0x13c], bx
mov cl, byte [esp + 0x13f]
sub eax, dword [esp + 0x124]
cmp dword [esp + 0x10c], edx
setg ch
and ch, 1
movzx edx, ch
mov ch, 0x17
mov dword [esp + 0x34], eax
mov al, cl
mul ch
and esi, edx
mov byte [esp + 0x13f], al
mov edx, dword [esp + 0x34]
cmp esi, edx
je 0x42488b
mov eax, 0x4445
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, ecx
mov edx, dword [esp + 0x30]
mul edx
mov esi, dword [esp + 0x44]
imul edi, esi, 0x4445
add edx, edi
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], edx
mov eax, dword [esp + 0x130]
mov edx, dword [esp + 0x134]
add eax, 0xffffbb89
adc edx, 0xffffffff
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov edi, dword [esp + 0x130]
mov ebx, dword [esp + 0x134]
add edi, 0xffffff90
adc ebx, 0xffffffff
or ecx, ecx
or esi, esi
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ecx
sub edi, eax
setbe al
sub ebx, edx
setbe ah
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x2b], ah
mov dword [esp + 0x24], edi
mov byte [esp + 0x23], al
je 0x4245d9
mov al, byte [esp + 0x2b]
mov byte [esp + 0x23], al
mov al, byte [esp + 0x23]
test al, al
jne 0x424777
jmp 0x4245e7
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
xor edx, edx
mov esi, 0xd591
sub esi, eax
sbb edx, ecx
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
sub esi, eax
setbe bl
sub edx, ecx
setbe bh
mov dword [esp + 0x1c], edx
mov byte [esp + 0x1b], bh
mov dword [esp + 0x14], esi
mov byte [esp + 0x13], bl
je 0x424632
mov al, byte [esp + 0x1b]
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
test al, al
jne 0x424318
jmp 0x424640
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
xor eax, edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x108], edx
xor esi, ecx
xor eax, 0x78d6
or eax, esi
mov dword [esp + 0xc], eax
je 0x424893
jmp 0x424681
mov eax, dword [esp + 0x108]
mov eax, dword [eax]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xd8]
add eax, 8
mov dword [esp + 0xc0], eax
mov al, byte [esp + 0x13f]
mul byte [esp + 0x13f]
mov byte [esp + 0x13f], al
mov ecx, dword [esp + 0xd8]
mov ecx, dword [ecx + 4]
sub ecx, 8
shr ecx, 1
mov dword [esp + 0x100], ecx
mov eax, dword [esp + 0x100]
mov ecx, eax
add ecx, 0xffffffff
mov dword [esp + 0x100], ecx
cmp eax, 0
je 0x424842
mov al, 0x99
mov ecx, 0xf84
mov dx, word [esp + 0xd6]
sub ecx, dword [esp + 0x124]
mov esi, dword [esp + 0xc0]
mov word [esp + 0xd4], dx
movzx esi, word [esi]
sar esi, cl
sub al, byte [esp + 0x12b]
mov cl, byte [esp + 0x12b]
add cl, 0xb8
mov dword [esp + 0x120], esi
mov byte [esp + 0xdf], cl
mov esi, dword [esp + 0xc0]
mov dx, word [esi]
mov cl, byte [esp + 0xdf]
mov word [esp + 0x9e], dx
cmp cl, al
jb 0x4246ce
mov ax, 0x7d10
mov cl, byte [esp + 0x13f]
or cl, 0x25
mov byte [esp + 0x13f], cl
cmp ax, word [esp + 0xd4]
jb 0x424640
mov eax, dword [esp + 0x4c]
add eax, 0x5f8b
mov ecx, dword [esp + 0x124]
xor ecx, 0x87
movzx edx, word [esp + 0x9e]
mov dword [esp + 0x138], eax
and edx, ecx
mov dword [esp + 0x11c], edx
mov eax, dword [esp + 0x120]
sub eax, 3
mov dword [esp + 8], eax
jne 0x424828
jmp 0x4247b7
mov eax, dword [esp + 0x40]
and eax, 0x113d
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x124]
xor ecx, 0x5827
add eax, dword [esp + 0xc4]
add eax, dword [esp + 0x104]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x114], eax
cmp ecx, edx
jb 0x42482a
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0xec]
add eax, dword [ecx]
mov dword [ecx], eax
jmp 0x42482a
jmp 0x42482a
jmp 0x42482c
mov eax, dword [esp + 0xc0]
add eax, 2
mov dword [esp + 0xc0], eax
jmp 0x4246ce
mov eax, dword [esp + 0xd8]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10c]
mov dx, word [esp + 0x48]
imul si, dx, 0x6f03
mov word [esp + 0x13c], si
sub ecx, eax
mov dword [esp + 0x10c], ecx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd8]
add eax, dword [ecx + 4]
mov dword [esp + 0xd8], eax
jmp 0x4244ae
mov byte [esp + 0xd2], 1
mov eax, 0x562e
mov ecx, dword [esp + 0x124]
add ecx, 0x31a9
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x40]
not ecx
mov edx, dword [esp + 0x44]
not edx
mov dword [esp + 0x144], edx
mov dword [esp + 0x140], ecx
cmp eax, dword [esp + 0xc8]
jb 0x4245e7
mov al, byte [esp + 0xd2]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret