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

Disassembly:
add dh, al
test byte [eax + eax*8], ah
add al, byte [eax]
add byte [ecx + edx*2], cl
lea ecx, [esp + 0x64]
mov dword [esp + 0xfc], ebx
call fcn.00422260
lea edx, [esp + 0x74]
lea ecx, [esp + 0x64]
push edx
mov byte [esp + 0x2c4], 0xd
mov dword [esp + 0x78], ebx
call fcn.00422260
cmp si, bx
mov byte [esp + 0x2c0], 0xe
mov dword [esp + 0x20], ebx
jle 0x422147
mov bl, 0x14
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx + 0x104]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x422123
mov cl, byte [eax + 0x77]
test cl, cl
jne 0x42210a
cmp byte [eax + 0x78], 1
je 0x42210a
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x248]
push esi
push eax
lea ecx, [esp + 0x104]
mov byte [esp + 0x17], 0
mov dword [esp + 0xcc], esi
call fcn.004051b0
add esi, 0xc
lea ecx, [esp + 0x230]
push esi
push ecx
lea ecx, [esp + 0x110]
call fcn.004051b0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x128]
lea edi, [edx + 8]
push edi
call fcn.00417d40
push eax
lea eax, [esp + 0x264]
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x2c8], 0xf
call fcn.00405270
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x2c0], 0xe
mov eax, dword [ecx + 0x54]
mov esi, dword [eax + 0x104]
cmp esi, eax
je 0x422102
cmp esi, dword [esp + 0x10]
je 0x4220a0
mov al, byte [esi + 0x77]
test al, al
jne 0x4220a0
mov al, byte [esi + 0x78]
test al, al
je 0x4220a0
lea edx, [esp + 0x278]
push esi
push edx
lea ecx, [esp + 0xa8]
call fcn.004051b0
lea eax, [esi + 0xc]
lea ecx, [esp + 0x23c]
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.004051b0
push edi
lea ecx, [esp + 0x150]
call fcn.00417d40
lea edx, [esp + 0x1f4]
push eax
push edx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x2c8], 0x10
call fcn.00405270
lea ecx, [esp + 0x24]
mov byte [esp + 0x2c0], 0xe
call fcn.00426a10
lea ecx, [esp + 0x30]
mov byte [esp + 0x2c0], 0x11
call fcn.00426a10
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2c0], 0x12
call fcn.00426a10
lea ecx, [esp + 0x68]
mov byte [esp + 0x2c0], 0x13
call fcn.00426a10
lea eax, [esp + 0xac]
lea ecx, [esp + 0x164]
push eax
push ecx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x2c8], bl
call fcn.004051f0
lea edx, [esp + 0x26c]
push eax
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c8], 0x15
call fcn.004051b0
lea eax, [esp + 0x108]
lea ecx, [esp + 0xfc]
push eax
lea edx, [esp + 0x180]
push ecx
push edx
mov byte [esp + 0x2cc], bl
call fcn.004059c0
add esp, 0xc
push eax
lea eax, [esp + 0x210]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c8], 0x16
call fcn.004051b0
fld dword [esp + 0x24]
fcomp dword [esp + 0x30]
mov byte [esp + 0x2c0], bl
fnstsw ax
test ah, 1
je 0x421be8
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], ecx
jmp 0x421bf0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x7c], edx
fld dword [esp + 0x28]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x421c0c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x80], eax
jmp 0x421c17
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x80], ecx
fld dword [esp + 0x2c]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x421c33
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x84], edx
jmp 0x421c3e
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], eax
lea ecx, [esp + 0xac]
lea edx, [esp + 0x194]
push ecx
push edx
lea ecx, [esp + 0xa8]
call fcn.00405230
push eax
lea eax, [esp + 0x258]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c8], 0x17
call fcn.004051b0
lea ecx, [esp + 0x108]
lea edx, [esp + 0xfc]
push ecx
lea eax, [esp + 0x1b0]
push edx
push eax
mov byte [esp + 0x2cc], bl
call fcn.0041a670
add esp, 0xc
lea ecx, [esp + 0x224]
push eax
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c8], 0x18
call fcn.004051b0
fld dword [esp + 0x24]
fcomp dword [esp + 0x30]
mov byte [esp + 0x2c0], bl
fnstsw ax
test ah, 0x41
jne 0x421cd5
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], edx
jmp 0x421cdd
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], eax
fld dword [esp + 0x28]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x421cf6
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x6c], ecx
jmp 0x421cfe
mov edx, dword [esp + 0x34]
mov dword [esp + 0x6c], edx
fld dword [esp + 0x2c]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x421d17
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
jmp 0x421d1f
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x70], ecx
lea edx, [esp + 0x68]
lea eax, [esp + 0x1c4]
push edx
push eax
lea ecx, [esp + 0x84]
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0x40000000
call fcn.004051f0
lea ecx, [esp + 0x11c]
lea edx, [esp + 0x284]
push ecx
push eax
push edx
mov byte [esp + 0x2cc], 0x19
call fcn.0041a080
add esp, 0xc
push eax
lea eax, [esp + 0x1e0]
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x2c8], 0x1a
call fcn.004051b0
lea ecx, [esp + 0x68]
lea edx, [esp + 0x134]
push ecx
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0x2c8], bl
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0x40000000
call fcn.00405230
lea ecx, [esp + 0x114]
lea edx, [esp + 0x140]
push ecx
push eax
push edx
mov byte [esp + 0x2cc], 0x1b
call fcn.0041a080
add esp, 0xc
push eax
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2c8], 0x1c
call fcn.004051b0
fld dword [esp + 0x94]
fcomp qword [0x4e1c20]
mov byte [esp + 0x2c0], bl
fnstsw ax
test ah, 1
jne 0x422028
fld dword [esp + 0x98]
fcomp qword [0x4e1c20]
fnstsw ax
test ah, 1
jne 0x422028
fld dword [esp + 0x9c]
fcomp qword [0x4e1c20]
fnstsw ax
test ah, 1
jne 0x422028
lea ecx, [esp + 0x94]
call fcn.00426bc0
lea ecx, [esp + 0x48]
lea edx, [esp + 0x88]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x2c8], 0xe
call fcn.0045d920
test al, al
je 0x4220a0
push edi
lea ecx, [esp + 0x174]
call fcn.00417d40
push eax
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2c8], 0x1d
call fcn.00405270
lea ecx, [esp + 0x88]
lea edx, [esp + 0x1a0]
push ecx
push edx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x2c8], 0xe
call fcn.004051b0
lea eax, [esp + 0x94]
lea ecx, [esp + 0x1b8]
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.004051b0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x60]
lea eax, [esp + 0x88]
push edx
push eax
call fcn.0045d920
test al, al
je 0x4220a0
fld dword [edi]
fmul qword [0x4e19a8]
lea ecx, [esp + 0x3c]
fstp dword [esp + 0x14]
call fcn.00426a10
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x88]
push ecx
lea eax, [esp + 0x1d4]
push edx
push eax
mov byte [esp + 0x2cc], 0x1e
call fcn.0041a670
add esp, 0xc
lea ecx, [esp + 0x1e8]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c8], 0x1f
call fcn.004051b0
fld dword [esp + 0x3c]
fabs
fld dword [esp + 0x14]
fcompp
mov byte [esp + 0x2c0], 0x1e
fnstsw ax
test ah, 0x41
jne 0x422032
fld dword [esp + 0x40]
fabs
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 0x41
jne 0x422032
fld dword [esp + 0x44]
fabs
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 0x41
jne 0x422032
lea edx, [esp + 0xac]
lea eax, [esp + 0x94]
push edx
lea ecx, [esp + 0x204]
push eax
push ecx
call fcn.0041a670
add esp, 0xc
lea edx, [esp + 0x218]
push eax
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c8], 0x20
call fcn.004051b0
fld dword [esp + 0x3c]
fabs
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 0x41
jne 0x422032
fld dword [esp + 0x40]
fabs
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 0x41
jne 0x422032
fld dword [esp + 0x44]
fabs
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 0x41
jne 0x422032
mov byte [esp + 0x2c0], 0xe
jmp 0x422052
mov byte [esp + 0x2c0], 0xe
jmp 0x4220a0
lea eax, [esp + 0x48]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x2c8], 0xe
call fcn.0045d920
test al, al
je 0x4220a0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0xb8]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0x64]
push eax
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0xc0], esi
mov dword [esp + 0xd4], edx
call fcn.00426df0
mov byte [esp + 0xf], 1
mov edx, dword [esp + 0x1c]
mov esi, dword [esi + 0x104]
cmp esi, dword [edx + 0x54]
jne 0x421a8f
mov al, byte [esp + 0xf]
test al, al
je 0x422102
mov eax, edx
lea edx, [esp + 0x54]
push edx
lea ecx, [eax + 0xa0]
mov eax, dword [eax + 0xa4]
push eax
call fcn.00426d60
mov ecx, dword [esp + 0x54]
xor esi, esi
cmp ecx, esi
je 0x4220f1
push 3
call fcn.00426b60
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov byte [eax + 0x78], 1
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x104]
mov ecx, dword [edi + 0x54]
cmp eax, ecx
mov dword [esp + 0x10], eax
jne 0x4219f0
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
movsx edx, word [esp + 0x50]
add ecx, 3
cmp edx, ecx
jge 0x422147
mov ecx, dword [esp + 0x50]
inc ecx
cmp word [esp + 0x20], si
mov dword [esp + 0x50], ecx
jl 0x4219db
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx + 0x104]
cmp eax, ecx
je 0x422163
mov byte [eax + 0x78], 0
mov eax, dword [eax + 0x104]
cmp eax, dword [edi + 0x54]
jne 0x422154
mov eax, dword [ebp + 8]
lea esi, [eax + 0x24]
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x422174
xor edx, edx
jmp 0x42218a
mov ecx, dword [esi + 4]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov edi, dword [esp + 0x18]
cmp edx, edi
je 0x4221b6
mov ecx, esi
call fcn.00496530
lea ecx, [esp + 0x290]
call fcn.004222b0
push eax
push edi
mov ecx, esi
mov byte [esp + 0x2c8], 0x21
call fcn.00425aa0
lea ecx, [esp + 0x60]
mov byte [esp + 0x2c0], 0xc
call fcn.004011f0
lea ecx, [esp + 0x48]
mov byte [esp + 0x2c0], 0xa
call fcn.004011f0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x2c0], 8
call fcn.004011f0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2c0], 6
call fcn.004011f0
lea ecx, [esp + 0x88]
mov byte [esp + 0x2c0], 4
call fcn.004011f0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2c0], 2
call fcn.004011f0
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.00426a20
mov ecx, dword [esp + 0x2b8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4