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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2d0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0x63de
mov esi, 0x7949
mov dword [esp + 0x2c4], 0
mov dword [esp + 0x2c0], 0x1dd3
mov di, word [esp + 0x2ae]
mov dword [esp + 0x2a8], 0x4ca3
mov word [esp + 0x2a6], 0x5ee6
mov ebx, dword [esp + 0x2c0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c4]
mov dword [esp + 0x48], eax
mov eax, ebx
xor eax, 0x257f
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2a8]
sub esi, eax
mov dword [esp + 0x290], esi
mov esi, dword [esp + 0x290]
sub edx, dword [esp + 0x2a8]
cmp esi, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ecx
mov word [esp + 0x3a], di
mov dword [esp + 0x34], eax
jbe 0x422eba
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x288], ecx
call fcn.00421a30
mov dword [esp + 0x294], eax
mov dword [esp + 0x2b4], 0
mov dword [esp + 0x2b0], 0
mov eax, dword [esp + 0x294]
mov ecx, dword [esp + 0x34]
and ecx, 0x53aa
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2bc], ecx
mov dword [esp + 0x5c], eax
mov ecx, eax
add ecx, 0xc
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x40]
and ecx, 0x3e8b
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2b0], ecx
mov dword [esp + 0x2b4], 0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x78], eax
je 0x42309f
mov eax, dword [esp + 0x34]
add eax, 0x279
mov ecx, dword [esp + 0x2c0]
mov edx, dword [esp + 0x2c4]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x2bc], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, 0x3be1
sub eax, ecx
mov ecx, dword [esp + 0x30]
sbb ecx, edx
mov dword [esp + 0x70], esi
sub edi, eax
setbe al
sub ebx, ecx
setbe ah
mov byte [esp + 0x2f], ah
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x23], al
je 0x422f2d
mov al, byte [esp + 0x2f]
mov byte [esp + 0x23], al
mov al, byte [esp + 0x23]
test al, al
jne 0x42309f
jmp 0x422f3b
mov ax, 0xbd21
mov cx, 0x8caa
sub cx, word [esp + 0x2a6]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x58]
mov word [esp + 0x6e], cx
sub ax, word [esp + 0x2a6]
movzx edx, word [edx + 0x2c]
mov cx, word [esp + 0x6e]
mov dword [esp + 0x74], edx
mov bl, byte [esp + 0x2cb]
xor bl, 0xc2
mov byte [esp + 0x2cb], bl
cmp ax, cx
je 0x42306a
mov eax, 0x4ca5
lea ecx, [esp + 0x80]
mov edx, dword [esp + 0x58]
mov edx, dword [edx + 0x30]
sub eax, dword [esp + 0x2a8]
mov esi, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0x1c], eax
call fcn.00422730
lea ecx, [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 0x18], eax
call fcn.00421a90
lea ecx, [esp + 0x80]
mov edx, dword [esp + 0x1c]
imul edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x288]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
call fcn.00425c80
mov di, word [esp + 0x3a]
and di, 0x7409
mov word [esp + 0x2ae], di
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jne 0x423090
mov al, byte [esp + 0x2cb]
mov cl, 0xd
mul cl
mov edx, dword [esp + 0x2c0]
mov esi, dword [esp + 0x2c4]
mov byte [esp + 0x2cb], al
mov edi, dword [esp + 0x58]
mov dword [esp + 0x28c], edi
mov dword [esp + 0x29c], 0
mov dword [esp + 0x298], 0x654
xor edx, 0x2d4
or edx, esi
mov dword [esp + 0xc], edx
je 0x422eba
jmp 0x42306a
mov dword [esp + 0x2b4], 0
mov dword [esp + 0x2b0], 0x1d03
mov eax, dword [esp + 0x28c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], eax
jmp 0x4230a7
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
mov dword [esp + 0x78], eax
jmp 0x422eba
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x54]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret