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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 0x14]
push esi
xor esi, esi
mov dword [esp + 0x24], eax
mov eax, 1
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
cmp ebx, esi
je 0x421825
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
lea edi, [ebx + 8]
sar eax, 4
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x60]
push ecx
mov dword [esp + 0x20], edi
call fcn.0042a5a0
mov edx, dword [eax]
mov ecx, dword [ebx + 8]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
add dword [ebx + 8], 0x10
add esp, 4
cmp dword [ecx + 8], 0
jne 0x4217a7
mov edx, dword [edi]
mov dword [edx + 8], 0
add dword [edi], 0x10
jmp 0x421a03
mov ebx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x60]
mov eax, ecx
mov eax, dword [eax + 0xc]
push eax
call fcn.0042a5a0
mov edx, dword [eax]
mov ecx, dword [edi]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
add dword [edi], 0x10
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov ebx, dword [edi]
mov esi, dword [ebx - 0x10]
add esp, 4
push eax
call fcn.0042a5a0
mov edx, dword [eax]
mov dword [ebx], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
add dword [edi], 0x10
mov ecx, dword [edi]
lea eax, [ecx - 0x10]
add esp, 4
cmp eax, ecx
jae 0x42181d
lea ecx, [eax - 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ecx + 0x18]
mov dword [ecx + 8], edx
add eax, 0x10
add ecx, 0x10
cmp eax, dword [edi]
jb 0x421803
add dword [edi], 0xfffffff0
jmp 0x421a03
mov dword [esp + 0x30], eax
call fcn.00420eb0
mov edi, eax
cmp edi, esi
je 0x42183e
mov eax, dword [edi + 0x10]
mov dword [eax + 0x58], 0x420720
mov esi, dword [edi + 0x10]
push 0
xor ecx, ecx
xor eax, eax
mov ebx, edi
call fcn.0041cff0
add esp, 4
mov esi, edi
call fcn.0041d350
mov esi, dword [edi + 0x10]
push 0
mov ecx, 1
xor eax, eax
call fcn.0041cff0
lea ecx, [esp + 0x3c]
add esp, 4
mov eax, str.import_preload_
push ecx
mov edx, 0x420600
mov ecx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0xf
call fcn.0041cf60
add esp, 4
test eax, eax
jne 0x42223a
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
sub eax, 0x10
mov dword [esp + 0x38], eax
sub eax, dword [edi + 0x20]
lea edx, [esp + 0x38]
push eax
push edx
push 0x41cee0
xor edx, edx
mov eax, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], 0xffffffff
call fcn.00430650
mov ecx, dword [edi + 0x14]
mov edx, dword [ebx]
add esp, 0xc
cmp edx, dword [ecx + 8]
jb 0x4218dd
mov dword [ecx + 8], edx
test eax, eax
jne 0x42223a
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx]
sub edx, dword [edi + 0x20]
lea eax, [esp + 0x38]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
push edx
mov edx, dword [edi + 0x6c]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x64]
push 0x430740
mov eax, edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x70], 0x420600
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], 0x483acc
call fcn.00430650
mov esi, dword [edi + 0x10]
mov ecx, dword [esp + 0x58]
mov edx, dword [esi + 0x10]
add esp, 0xc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
push 0
push eax
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
push edx
call eax
mov ecx, dword [esp + 0x20]
sub dword [esi + 0x44], ecx
add esp, 0x10
cmp dword [esp + 0x34], 0
jne 0x42223a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x4219a5
push eax
mov esi, edi
call fcn.0041c5b0
add esp, 4
push 0xffffd8f0
mov eax, edi
call fcn.00420220
add esp, 4
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x4219bb
mov ecx, dword [ebx]
mov dword [ecx + 8], eax
add dword [ebx], 0x10
mov edi, ebx
jmp 0x421a03
push edi
call fcn.00420630
add esp, 4
test eax, eax
jne 0x4221b2
mov ebx, dword [ebx]
sub ebx, 0x10
mov dword [esp + 0x38], ebx
sub ebx, dword [edi + 0x20]
lea edx, [esp + 0x38]
push ebx
push edx
push 0x41cee0
xor edx, edx
mov eax, edi
mov dword [esp + 0x48], 1
call fcn.00430650
add esp, 0xc
test eax, eax
jne 0x4221ae
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
inc eax
cmp eax, 0xc350
jg 0x421a1a
mov ecx, ebx
call fcn.0041c040
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
test cl, cl
je 0x421d83
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
lea ebx, [esi - 4]
add esi, 0xfffffff8
sub eax, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], esi
mov eax, 3
movzx ecx, cl
add ecx, 0xffffffda
cmp ecx, 0x53
ja case.0x421bcc.67
movzx ecx, byte [ecx + 0x42229c]
jmp dword [ecx*4 + 0x422260]
fild dword [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421d64
mov edx, dword [ebx + 4]
fild dword [ebx + 4]
add esi, 4
add ebx, 4
mov ecx, dword [edi]
mov dword [esp + 0x10], esi
test edx, edx
jns 0x421a96
fadd qword [0x4863d8]
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421d68
mov ecx, dword [ebx + 4]
add ebx, 4
add esi, 4
mov dword [esp + 0x10], esi
test ecx, ecx
jne 0x421abf
mov ecx, dword [edi]
mov dword [ecx + 8], 0
jmp 0x421d68
mov edx, dword [edi]
mov dword [edx], ecx
mov dword [edx + 8], 2
jmp 0x421d68
movsx edx, word [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421d64
movzx edx, word [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421d64
movsx edx, byte [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421d64
movzx edx, byte [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421d64
fild qword [esi + 8]
mov ecx, dword [edi]
add esi, 8
add ebx, 8
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421d64
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add esi, 8
push eax
add ebx, 8
push ecx
jmp 0x421d00
mov ecx, dword [edi]
fld dword [ebx + 4]
add esi, 4
fstp qword [ecx]
add ebx, 4
mov dword [ecx + 8], eax
jmp 0x421d64
mov ecx, dword [edi]
fld qword [esi + 8]
add esi, 8
fstp qword [ecx]
add ebx, 8
mov dword [ecx + 8], eax
jmp 0x421d64
mov ecx, dword [edi]
xor edx, edx
add ebx, 4
add esi, 4
cmp dword [ebx], edx
setne dl
jmp 0x421d5b
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx + edx]
inc dword [esp + 0x20]
add ecx, 0xffffffbe
cmp ecx, 0x37
ja case.0x421bcc.67
movzx edx, byte [ecx + 0x42232c]
jmp dword [edx*4 + 0x4222f0]
mov edx, dword [ebx + 4]
fild dword [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421d64
mov edx, dword [ebx + 4]
mov edx, dword [edx]
add esi, 4
add ebx, 4
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
jmp 0x421a86
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
add dword [esp + 0x10], 4
add ebx, 4
push eax
call fcn.0041c5b0
mov esi, dword [esp + 0x14]
add esp, 4
mov eax, 3
jmp case.0x421bcc.67
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x14]
add ebx, 4
add esi, 4
call fcn.0041c6f0
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
add ebx, 4
add esi, 4
mov dword [esp + 0x10], esi
call fcn.0041c6f0
mov eax, 3
jmp case.0x421bcc.67
mov edx, dword [ebx + 4]
movsx edx, byte [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421d64
mov edx, dword [ebx + 4]
movzx edx, byte [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421d64
mov edx, dword [ebx + 4]
movsx edx, word [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421d64
mov edx, dword [ebx + 4]
movzx edx, word [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421d64
mov edx, dword [ebx + 4]
fild qword [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421d64
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
add esi, 4
add ebx, 4
push ecx
push edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
call fcn.004465c0
add esp, 8
mov eax, 3
jmp case.0x421bcc.67
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
fld dword [edx]
add esi, 4
fstp qword [ecx]
add ebx, 4
mov dword [ecx + 8], eax
jmp 0x421d64
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
fld qword [edx]
add esi, 4
fstp qword [ecx]
add ebx, 4
mov dword [ecx + 8], eax
jmp 0x421d64
mov ecx, dword [edi]
mov edx, dword [ebx + 4]
add ebx, 4
mov dword [esp + 0x34], ecx
xor ecx, ecx
add esi, 4
cmp dword [edx], ecx
setne cl
mov edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [ecx + 8], 1
mov dword [ecx], edx
mov dword [esp + 0x10], esi
add dword [edi], 0x10
mov edx, dword [esp + 0x18]
mov cl, byte [edx + 1]
inc edx
mov dword [esp + 0x18], edx
test cl, cl
jne 0x421a48
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
mov esi, dword [esp + 0x20]
inc ecx
shl ecx, 4
sub eax, ecx
mov dword [esp + 0x38], eax
sub eax, dword [ebx + 0x20]
lea edx, [esp + 0x38]
push eax
push edx
push 0x41cee0
xor edx, edx
mov eax, ebx
mov dword [esp + 0x48], esi
call fcn.00430650
add esp, 0xc
cmp esi, 0xffffffff
jne 0x421dc7
mov ecx, dword [ebx + 0x14]
mov edx, dword [edi]
cmp edx, dword [ecx + 8]
jb 0x421dc7
mov dword [ecx + 8], edx
xor esi, esi
cmp eax, esi
je 0x421e19
push str.RAW_CALLBACK_ERROR
mov eax, ebx
call fcn.0041db10
mov ecx, dword [esp + 0x28]
mov eax, ecx
add esp, 4
shl eax, 4
cmp ecx, esi
jl 0x421e0f
mov edx, dword [ebx + 0xc]
add edx, eax
cmp dword [edi], edx
jae 0x421e03
mov edx, dword [edi]
mov dword [edx + 8], esi
add dword [edi], 0x10
mov edx, dword [ebx + 0xc]
add edx, eax
cmp dword [edi], edx
jb 0x421df2
mov edx, dword [ebx + 0xc]
add edx, eax
mov dword [edi], edx
jmp 0x42216b
add eax, 0x10
add dword [edi], eax
jmp 0x42216b
mov eax, dword [esp + 0x20]
mov esi, eax
dec eax
neg esi
mov dword [esp + 0x20], eax
mov eax, esi
mov ecx, ebx
call fcn.0041bfc0
cmp eax, 0x482990
jne 0x421e3b
or eax, 0xffffffff
jmp 0x421e3e
mov eax, dword [eax + 8]
dec eax
je 0x421ead
sub eax, 2
je 0x421ea1
sub eax, 4
jne 0x421e92
push str.size64
push str.math
mov eax, esi
mov ecx, ebx
call fcn.0041ec60
add esp, 8
test eax, eax
je 0x421e92
mov eax, esi
mov ecx, ebx
call fcn.0041bfc0
cmp dword [eax + 8], 7
jne 0x421e85
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add eax, 0x18
mov dword [esp + 0x40], ecx
jmp 0x421ee7
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
jmp 0x421ee7
push 0
push 1
push esi
call fcn.00420770
add esp, 0xc
jmp 0x421ee2
push esi
push ebx
call fcn.0041c3a0
add esp, 8
jmp 0x421ee2
mov eax, esi
mov ecx, ebx
call fcn.0041bfc0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x421ee0
cmp ecx, 1
jne 0x421ec7
cmp dword [eax], 0
je 0x421ee0
cmp ecx, 3
jne 0x421ed9
fld qword [eax]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x421ee0
mov eax, 1
jmp 0x421ee2
xor eax, eax
cdq
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x20]
test edx, edx
je 0x422167
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
mov dword [esp + 0x18], ecx
test al, al
je 0x422167
mov ebx, dword [ebp + 0xc]
add ebx, 0xfffffffc
neg edx
mov dword [esp + 0x20], edx
mov edi, edi
movzx eax, al
add eax, 0xffffffda
cmp eax, 0x53
ja case.0x421f76.67
movzx ecx, byte [eax + 0x422374]
jmp dword [ecx*4 + 0x422364]
add ebx, 4
jmp case.0x421f76.67
add ebx, 8
jmp case.0x421f76.67
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, eax
inc eax
mov dword [esp + 0x20], eax
movsx eax, byte [edx]
add eax, 0xffffffbe
mov dword [esp + 0x2c], esi
cmp eax, 0x37
ja case.0x421f76.67
movzx eax, byte [eax + 0x4223f8]
jmp dword [eax*4 + 0x4223c8]
mov ecx, dword [esp + 0x14]
push esi
push ecx
call fcn.0041c3a0
mov edx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov dword [edx], eax
jmp case.0x421f76.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041bfc0
cmp dword [eax + 8], 2
jne 0x421fb0
mov eax, dword [eax]
jmp 0x422148
xor eax, eax
jmp 0x422148
mov ecx, dword [esp + 0x14]
mov eax, esi
add ebx, 4
call fcn.0041bfc0
cmp dword [eax + 8], 4
je 0x422007
mov edi, dword [esp + 0x14]
mov esi, eax
call fcn.0042c730
test eax, eax
jne 0x421fe2
mov edi, dword [esp + 0x1c]
xor esi, esi
jmp 0x42200c
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [eax + 0x40]
jb 0x421ff8
mov eax, esi
call fcn.0042c500
mov eax, dword [esp + 0x2c]
mov ecx, esi
call fcn.0041bfc0
mov edi, dword [esp + 0x1c]
mov esi, dword [eax]
add esi, 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
call fcn.0041c4c0
push eax
mov eax, dword [ebx]
push esi
push eax
call fcn.00465400
add esp, 0xc
jmp case.0x421f76.67
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
add ebx, 4
mov dword [esp + 0x10], ecx
call fcn.0041c260
mov ecx, esi
call fcn.004236e0
mov edx, dword [esp + 0x10]
push eax
push 0
push edx
call fcn.00465290
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, esi
call fcn.00424130
add dword [edi], 0xfffffff0
jmp case.0x421f76.67
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.0041c3a0
mov ecx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov byte [ecx], al
jmp case.0x421f76.67
mov edx, dword [esp + 0x14]
push esi
push edx
call fcn.0041c3a0
mov ecx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov word [ecx], ax
jmp case.0x421f76.67
mov ecx, dword [esp + 0x14]
push str.size64
push str.math
mov eax, esi
call fcn.0041ec60
add esp, 8
test eax, eax
je case.0x421f76.108
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c530
mov edx, dword [eax]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 4]
add ebx, 4
mov dword [ecx], edx
mov dword [ecx + 4], eax
jmp case.0x421f76.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c350
call fcn.00476a36
mov ecx, dword [ebx + 4]
add ebx, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x421f76.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c350
fstp qword [esp + 0x38]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x38]
add ebx, 4
mov dword [edx], eax
jmp case.0x421f76.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c350
fstp qword [esp + 0x38]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add ebx, 4
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp case.0x421f76.67
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.0041c410
add esp, 8
mov ecx, dword [ebx + 4]
add ebx, 4
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
inc dword [esp + 0x28]
inc eax
mov dword [esp + 0x18], eax
mov al, byte [eax]
test al, al
jne 0x421f20
mov ecx, dword [esp + 0x24]
test ecx, ecx
js 0x42220d
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
shl ecx, 4
add edx, ecx
cmp dword [edi], edx
jae 0x4221a5
jmp 0x422190
mov edx, dword [edi]
mov dword [edx + 8], 0
add dword [edi], 0x10
mov edx, dword [eax + 0xc]
add edx, ecx
cmp dword [edi], edx
jb 0x422190
mov edx, dword [eax + 0xc]
add edx, ecx
mov dword [edi], edx
jmp 0x42221d
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx]
sub esi, 0x10
cmp dword [esi + 8], 4
je 0x4221e1
call fcn.0042c730
test eax, eax
jne 0x4221ca
xor esi, esi
jmp 0x4221e6
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [eax + 0x40]
jb 0x4221dc
mov eax, edi
call fcn.0042c500
mov esi, dword [ebx]
sub esi, 0x10
mov esi, dword [esi]
add esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._nthread_id:_d_nthread_error:_s
call fcn.0045cae5
add eax, 0x40
push eax
call fcn.0045c30e
mov edi, dword [esp + 0x2c]
add esp, 0x10
jmp 0x422173
mov eax, dword [esp + 0x24]
shl eax, 4
add eax, 0x10
add dword [edi], eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x30], 0
je 0x422229
call fcn.00421000
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.RAW_CALLBACK_ERROR
mov eax, edi
call fcn.0041db10
add esp, 4
mov eax, edi
call fcn.00421000
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 8