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

Disassembly:
mov eax, dword [0x48f640]
push ebx
push ebp
push esi
mov ebx, dword [esp + 0x30]
mov cx, word [esp + 0x10]
push edi
xor edi, edi
mov word [eax + 0x74], di
mov ax, word [esp + 0x2c]
cmp ax, di
jl 0x42739b
cmp ax, 0x1f
jg 0x42739b
mov edx, dword [0x48f640]
cmp cx, di
jl 0x427393
movsx esi, cx
movsx eax, ax
add esi, eax
movsx eax, word [edx + 0x82]
cmp eax, esi
jle 0x427393
test bl, 0x10
je 0x4273a7
mov word [edx + 0x74], 0x35
jmp 0x4273a7
mov word [edx + 0x74], 0x16
jmp 0x4273a7
mov edx, dword [0x48f640]
mov word [edx + 0x74], 0x17
mov eax, dword [0x48f640]
mov ax, word [eax + 0x74]
cmp ax, di
jne 0x42773e
movsx ebp, cx
xor esi, esi
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004203f0
add esp, 4
cmp eax, edi
je 0x4274b8
cmp byte [eax + 0x110], 0x6e
jne 0x4274c6
mov edx, dword [0x48f640]
cmp esi, edi
mov ecx, dword [edx + 0x4c8]
mov edx, dword [ecx + ebp*4]
mov dword [eax + 0xc0], edx
je 0x427407
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0xc4], eax
mov edx, dword [esp + 0x14]
inc esi
inc edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x2c]
cmp esi, edx
jbe 0x4273c2
mov dword [eax + 0xc4], edi
mov ecx, dword [0x48f640]
mov eax, dword [esp + 0x3c]
and ebx, 0x7ff6
mov edx, dword [ecx + 0x4c8]
mov esi, dword [edx + ebp*4]
mov ebp, dword [esp + 0x38]
mov dword [esi + 0x54], eax
add eax, 0xc
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x6c], edi
mov word [esi + 0x30], di
mov word [esi + 0x4a], di
mov dword [esi + 0x84], eax
mov eax, dword [0x48f640]
mov cx, word [eax + 0x6b8]
mov eax, dword [esp + 0x24]
shl cx, 7
mov edx, eax
mov word [esi + 0x2e], cx
shr edx, 4
mov cl, bl
and dl, 1
and al, 0xef
and ecx, 2
cmp ebp, edi
mov dword [esi + 0x68], 0x28
mov byte [esi + 0x3f], dl
mov word [esi + 0x102], cx
jne 0x4274d5
mov word [esi + 0x60], di
mov dword [esi + 0xc8], edi
jmp 0x4274e9
mov eax, dword [0x48f640]
pop edi
pop esi
pop ebp
mov ax, word [eax + 0x74]
pop ebx
ret
push 0x2e
call fcn.00422fe0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [esi + 0x50], 1
jne 0x4274e3
mov word [esi + 0x60], 6
jmp 0x4274e9
mov word [esi + 0x60], 2
test byte [esi + 0x60], 2
je 0x4274f5
add word [esi + 0x2e], 0xffee
mov ecx, dword [esp + 0x20]
mov dl, bl
and edx, 0x30
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
push esi
call fcn.00427190
add esp, 0x14
test eax, eax
jne 0x4275be
mov edx, ebx
push 1
and edx, 0x86f4
push edi
push esi
mov word [esi + 0x34], bx
mov word [esi + 0x36], dx
mov word [esi + 0x66], di
mov dword [esi + 0x94], edi
call fcn.00420a90
mov eax, dword [esp + 0x24]
push 0xff
lea ecx, [esi + 0x111]
push eax
push ecx
call fcn.00422f40
mov ax, word [esi + 0x60]
add esp, 0x18
test al, 2
je 0x4275af
cmp ax, 2
jne 0x42758c
mov eax, dword [ebp + 0xc8]
mov edx, dword [esp + 0x1c]
push edx
mov cx, word [eax + 0xf4]
push ecx
call fcn.0042bc10
add esp, 8
test eax, eax
je 0x42758c
mov edx, dword [0x48f640]
mov word [edx + 0x74], 0x12
cmp word [esi + 0x60], 2
jne 0x4275be
push edi
push edi
push esi
call fcn.0041f970
add esp, 0xc
test eax, eax
jge 0x4275be
mov eax, dword [0x48f640]
mov word [eax + 0x74], 0x32
jmp 0x4275be
push ebx
push 1
push esi
mov dword [esi + 0x50], edi
call fcn.00426f10
add esp, 0xc
mov ecx, dword [0x48f640]
cmp word [ecx + 0x74], di
jne 0x4275d8
mov edx, dword [esp + 0x20]
push edx
push esi
call fcn.0042c7b0
add esp, 8
mov eax, dword [0x48f640]
mov ax, word [eax + 0x74]
cmp ax, di
jne 0x42773e
push 1
push esi
call fcn.00426f40
mov ax, word [esp + 0x34]
mov cx, word [esp + 0x38]
movsx ebp, ax
mov word [esi + 0x32], cx
xor ecx, ecx
mov cx, word [esi + 0x2e]
mov edx, ebp
shl edx, 7
mov word [esi + 0x48], ax
push esi
lea eax, [edx + ecx + 0x7f]
xor edx, edx
div ecx
mov byte [esi + 0x110], 0x79
mov dword [esi + 0xdc], edi
mov word [esi + 0x44], 1
imul eax, ecx
dec eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
call fcn.00425ac0
add esp, 0xc
mov dword [esi + 0xec], eax
test bl, 0x20
je 0x427653
or byte [esi + 0x36], 0x30
or byte [esi + 0x34], 0x10
test byte [esi + 0x60], 2
je 0x427668
or eax, 0xffffffff
mov word [esi + 0x32], di
mov dword [esi + 0xc], eax
mov dword [esi + 4], eax
jmp 0x427684
test byte [esi + 0x36], 0x20
je 0x427684
mov ax, word [esi + 0x2e]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.00423c20
add esp, 8
mov word [esi + 0x32], ax
push esi
call fcn.00426ab0
push esi
call fcn.00420e30
add esp, 8
test ax, ax
jne 0x42771d
push esi
call fcn.00420e60
add esp, 4
test ax, ax
jne 0x42771d
push 1
push 1
push esi
mov dword [esi + 0xe8], edi
mov dword [esi + 0x98], edi
call fcn.00420a90
mov al, byte [esi + 0x60]
add esp, 0xc
test al, 2
jne 0x4276d5
mov eax, dword [0x48f640]
inc dword [eax + 0x564]
mov eax, dword [0x48f640]
mov edx, dword [eax + 0x568]
inc edx
mov dword [eax + 0x568], edx
mov eax, dword [0x48f640]
mov ecx, dword [eax + 0x56c]
inc ecx
cmp ebp, 1
mov dword [eax + 0x56c], ecx
jb 0x427715
mov al, 0x6d
mov esi, dword [esi + 0xc4]
dec ebp
mov byte [esi + 0x110], al
mov dword [esi + 0xdc], edi
jne 0x427700
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
cmp word [esi + 0x60], 2
jne 0x427734
and word [esi + 0x34], 0xfff6
push edi
push esi
call fcn.0041f8a0
add esp, 8
mov edx, dword [0x48f640]
mov ax, word [edx + 0x74]
pop edi
pop esi
pop ebp
pop ebx
ret