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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x24], ebp
call fcn.00424b10
mov eax, dword [ebp + 0x4c]
xor edi, edi
mov ecx, dword [eax + 0x468]
mov byte [eax + 0xc], 0
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x20]
test ecx, ecx
jbe 0x4230d9
xor ebx, ebx
mov esi, dword [eax + 0x458]
mov al, byte [esi + ebx + 0x7c]
add esi, ebx
test al, al
jne 0x4230be
movsx eax, byte [esi + 0x23]
xor edx, edx
mov dl, byte [esi + 0x1e]
add eax, edx
cmp eax, 0x76
jle 0x4230a8
mov eax, 0x76
jmp 0x4230ae
test eax, eax
jge 0x4230ae
xor eax, eax
movsx ecx, byte [esi + 0x22]
push ecx
push eax
mov ecx, ebp
call fcn.00422590
mov dword [esi + 0x6c], eax
mov byte [esi + 0x7c], 0xff
mov byte [esi + 0x7d], 0
mov byte [esi + 0x21], 0
mov eax, dword [ebp + 0x4c]
inc edi
add ebx, 0x8c
cmp edi, dword [eax + 0x20]
jb 0x423081
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 0
mov cl, byte [eax]
inc eax
test cl, cl
mov byte [esp + 0x28], cl
mov dword [esp + 0x1c], eax
je 0x4235a0
mov edx, dword [esp + 0x20]
mov edi, eax
mov esi, dword [ebp + 0x4c]
lea eax, [edx*8]
sub eax, edx
test cl, 0x80
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x458]
lea esi, [eax + edx*4]
jne 0x42312e
mov edx, dword [esp + 0x28]
and edx, 0xff
mov dword [esp + 0x20], edx
jmp 0x423585
mov al, cl
and al, 1
mov byte [esp + 0x18], al
je 0x423145
mov al, byte [edi]
dec al
inc edi
mov byte [esp + 0x13], al
mov dword [esp + 0x1c], edi
mov al, cl
and al, 2
mov byte [esp + 0x14], al
je 0x42315c
mov dl, byte [edi]
dec dl
inc edi
mov byte [esp + 0x2c], dl
mov dword [esp + 0x1c], edi
mov al, cl
and al, 4
mov byte [esp + 0x19], al
je 0x423173
mov bl, byte [edi]
inc edi
mov byte [esp + 0x30], bl
mov dword [esp + 0x1c], edi
jmp 0x423179
xor bl, bl
mov byte [esp + 0x30], bl
mov al, cl
and al, 8
mov byte [esp + 0x1a], al
je 0x423190
mov dl, byte [edi]
inc edi
mov byte [esp + 0x17], dl
mov dword [esp + 0x1c], edi
jmp 0x423197
or dl, 0xff
mov byte [esp + 0x17], dl
and cl, 0x10
mov byte [esp + 0x1b], cl
je 0x4231ad
mov al, byte [edi]
inc edi
mov byte [esp + 0x15], al
mov dword [esp + 0x1c], edi
jmp 0x4231b2
mov byte [esp + 0x15], 0
mov al, bl
and al, 0xf0
cmp al, 0xb0
je 0x4231cc
cmp dl, 4
je 0x4231cc
cmp dl, 6
je 0x4231cc
xor edi, edi
mov word [esi + 0x3e], di
jmp 0x4231ce
xor edi, edi
cmp dl, 7
je 0x4231d7
mov word [esi + 0x42], di
cmp dl, 3
je 0x423227
cmp al, 0xf0
je 0x423227
mov ecx, dword [esi]
xor al, al
mov byte [esp + 0x16], al
and ecx, 0xffffffdf
mov dword [esi], ecx
mov cl, byte [esp + 0x18]
test cl, cl
je 0x4233da
mov cl, byte [esp + 0x13]
mov dl, byte [esp + 0x14]
cmp cl, 0x60
jne 0x42320a
test dl, dl
je 0x42321f
test al, al
jne 0x42321a
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi], 1
cmp cl, 0x60
jne 0x423234
mov eax, dword [esi]
or al, 2
mov dword [esi], eax
jmp 0x42328b
mov ecx, dword [esi]
mov al, 1
mov byte [esp + 0x16], al
or ecx, 0x20
jmp 0x4231eb
mov byte [esi + 0x1e], cl
mov eax, dword [ebp + 0x4c]
test byte [eax + 0xe], 4
jne 0x42325f
test dl, dl
je 0x42325f
mov edi, dword [esp + 0x2c]
mov ebp, dword [esi + 0x68]
and edi, 0xff
cmp ebp, dword [eax + edi*4 + 0x58]
je 0x42325b
mov byte [esi + 0x2c], 0
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0x4c]
test byte [eax + 0xf], 4
jne 0x42328b
test dl, dl
je 0x42338d
mov edi, dword [esp + 0x2c]
mov ebp, dword [esi + 0x68]
and edi, 0xff
cmp ebp, dword [eax + edi*4 + 0x58]
je 0x423287
mov byte [esi + 0x34], 0
mov ebp, dword [esp + 0x24]
test dl, dl
je 0x42338d
cmp cl, 0x60
je 0x423456
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x60], 0x10000
mov eax, dword [esi]
xor ecx, ecx
and al, 0xfd
mov byte [esi + 0x26], 0xff
mov dword [esi], eax
mov eax, 0xffff
mov byte [esi + 0x28], 0x40
mov byte [esi + 0x29], 0x20
mov byte [esi + 0x27], 0xff
mov word [esi + 0x46], ax
mov word [esi + 0x48], ax
mov word [esi + 0x4a], cx
mov word [esi + 0x4c], cx
mov byte [esi + 0x2f], cl
mov byte [esi + 0x31], cl
mov byte [esi + 0x38], cl
mov byte [esi + 0x39], cl
mov eax, dword [ebp + 0x4c]
and edx, 0xff
mov edx, dword [eax + edx*4 + 0x58]
mov dword [esi + 0x68], edx
mov eax, dword [ebp + 0x4c]
test byte [eax + 0xe], 4
je 0x4232fc
mov byte [esi + 0x2c], cl
mov edx, dword [ebp + 0x4c]
test byte [edx + 0xf], 4
je 0x423309
mov byte [esi + 0x34], 0
mov eax, dword [esi + 0x68]
cmp eax, ecx
jne 0x423317
mov dword [esi], ecx
jmp 0x423456
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0x1e]
mov dl, byte [ecx + eax + 0x68]
mov edi, dword [eax + edx*4 + 0x28]
mov dword [esi + 0x64], edi
mov edx, edi
mov cl, byte [edi + 0x10]
mov byte [esi + 0x23], cl
mov cl, byte [edx + 0xc]
mov byte [esi + 0x20], cl
movzx cx, byte [edx + 0xf]
mov word [esi + 0x44], cx
mov cl, byte [edx + 0xe]
mov byte [esi + 0x24], cl
mov cl, byte [edx + 0xd]
mov byte [esi + 0x22], cl
mov dl, byte [eax + 0x1f7]
mov byte [esi + 0x32], dl
mov cl, byte [eax + 0x1f9]
mov byte [esi + 0x2e], cl
mov dl, byte [eax + 0x1fa]
mov byte [esi + 0x2d], dl
mov al, byte [eax + 0x1f8]
mov byte [esi + 0x30], al
mov al, byte [esi + 0x24]
test al, 3
je 0x423389
mov ecx, edi
mov edx, edi
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov ecx, dword [edx + 8]
add ecx, eax
mov dword [esi + 8], ecx
mov cl, byte [esp + 0x13]
cmp cl, 0x60
je 0x423456
movsx eax, byte [esi + 0x23]
xor edx, edx
mov dl, byte [esi + 0x1e]
add eax, edx
cmp eax, 0x76
jle 0x4233ad
mov eax, 0x76
jmp 0x4233b3
test eax, eax
jge 0x4233b3
xor eax, eax
movsx ecx, byte [esi + 0x22]
mov edi, dword [esi + 0x6c]
push ecx
push eax
mov ecx, ebp
call fcn.00422590
mov dword [esi + 0x6c], eax
mov dword [esi + 0x78], eax
mov al, byte [esp + 0x16]
test al, al
je 0x423456
mov dword [esi + 0x6c], edi
jmp 0x423456
mov al, byte [esp + 0x14]
test al, al
je 0x423456
test byte [esi], 1
je 0x423456
mov edx, dword [esi + 0x64]
mov dword [esi + 0x60], 0x10000
mov byte [esi + 0x28], 0x40
mov byte [esi + 0x29], 0x20
mov ecx, dword [esi]
mov eax, 0xffff
mov word [esi + 0x46], ax
mov word [esi + 0x48], ax
xor eax, eax
and ecx, 0xfffffffd
mov byte [esi + 0x26], 0xff
mov byte [esi + 0x27], 0xff
mov word [esi + 0x4a], ax
mov word [esi + 0x4c], ax
mov dword [esi], ecx
mov al, byte [edx + 0xc]
mov ecx, edx
mov byte [esi + 0x20], al
mov eax, ecx
movzx dx, byte [ecx + 0xf]
mov word [esi + 0x44], dx
mov cl, byte [eax + 0xe]
mov edx, eax
mov byte [esi + 0x24], cl
mov al, byte [edx + 0xd]
mov byte [esi + 0x22], al
mov al, cl
test al, 3
je 0x423456
mov ecx, edx
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov ecx, dword [edx + 8]
add ecx, eax
mov dword [esi + 8], ecx
mov al, byte [esp + 0x19]
test al, al
je case.0x4234a2.13
cmp bl, 0x10
mov byte [esi + 0x21], bl
jb 0x423471
cmp bl, 0x50
ja 0x42348d
sub bl, 0x10
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], 0
mov al, byte [esp + 0x1a]
test al, al
je 0x423552
mov dl, byte [esp + 0x17]
mov byte [esi + 0x7c], dl
jmp 0x42355e
mov edx, dword [esp + 0x30]
and edx, 0xff
shr edx, 4
lea eax, [edx - 6]
cmp eax, 9
ja case.0x4234a2.13
jmp dword [eax*4 + 0x423630]
mov al, bl
and al, 0xf
neg al
add bl, 0x10
mov byte [esi + 0x3d], al
mov byte [esi + 0x21], bl
jmp case.0x4234a2.13
and bl, 0xf
mov byte [esi + 0x3d], bl
jmp case.0x4234a2.13
mov dl, byte [esi + 0x20]
and bl, 0xf
sub dl, bl
mov byte [esi + 0x21], 0
mov al, dl
mov byte [esi + 0x20], dl
cmp al, 0x7f
jbe case.0x4234a2.13
mov byte [esi + 0x20], 0
jmp case.0x4234a2.13
mov dl, byte [esi + 0x20]
and bl, 0xf
add dl, bl
mov byte [esi + 0x21], 0
mov al, dl
mov byte [esi + 0x20], dl
cmp al, 0x40
jbe case.0x4234a2.13
mov byte [esi + 0x20], 0x40
jmp case.0x4234a2.13
cmp bl, 0xa0
jbe case.0x4234a2.13
and bl, 0xf
mov byte [esi + 0x2a], bl
jmp case.0x4234a2.13
cmp bl, 0xb0
jbe case.0x4234a2.13
and bl, 0xf
mov byte [esi + 0x2b], bl
jmp case.0x4234a2.13
and bl, 0xf
xor ax, ax
mov al, bl
mov ecx, eax
shl ecx, 4
or ecx, eax
mov word [esi + 0x44], cx
jmp 0x423471
test bl, 0xf
je case.0x4234a2.13
shl bl, 4
mov byte [esi + 0x80], bl
jmp case.0x4234a2.13
mov al, byte [esp + 0x1b]
test al, al
je 0x423576
mov byte [esi + 0x7c], 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov al, byte [esp + 0x15]
push ecx
push edx
mov ecx, ebp
mov byte [esi + 0x7d], al
call fcn.00423660
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x20], eax
mov edx, eax
mov eax, dword [ebp + 0x4c]
cmp edx, dword [eax + 0x20]
je 0x4235a0
mov cl, byte [edi]
inc edi
test cl, cl
mov byte [esp + 0x28], cl
mov dword [esp + 0x1c], edi
jne 0x4230fe
mov ecx, dword [ebp + 0x4c]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x468], edx
mov eax, dword [ebp + 0x4c]
mov esi, dword [eax + 0x4c]
inc esi
mov dword [eax + 0x4c], esi
mov ecx, dword [ebp + 0x4c]
mov al, byte [ecx + 9]
cmp al, 0xff
je 0x42361a
test al, 1
je 0x4235cd
xor eax, eax
mov al, byte [ecx + 0xa]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp + 0x4c]
test byte [eax + 9], 2
je 0x423613
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0xb]
mov dword [eax + 0x44], ecx
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x4c]
lea eax, [eax + eax*4]
div dword [ecx + 0x44]
shr eax, 1
mov dword [ecx + 0x470], eax
mov al, byte [ebp + 4]
test al, 2
je 0x423604
mov eax, dword [ebp + 0x4c]
shl dword [eax + 0x470], 1
mov eax, dword [ebp + 0x4c]
mov edx, dword [eax + 0x470]
mov dword [eax + 0x46c], edx
mov eax, dword [ebp + 0x4c]
mov byte [eax + 9], 0xff
mov eax, dword [ebp + 0x4c]
pop edi
pop esi
pop ebp
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
add edx, ecx
pop ebx
mov dword [eax + 0x40], edx
add esp, 0x24
ret