Function at 0x4218e0
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 0x421a05
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.0042a780
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 0x421987
mov edx, dword [edi]
mov dword [edx + 8], 0
add dword [edi], 0x10
jmp 0x421be3
mov ebx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x60]
mov eax, ecx
mov eax, dword [eax + 0xc]
push eax
call fcn.0042a780
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.0042a780
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 0x4219fd
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 0x4219e3
add dword [edi], 0xfffffff0
jmp 0x421be3
mov dword [esp + 0x30], eax
call fcn.00421090
mov edi, eax
cmp edi, esi
je 0x421a1e
mov eax, dword [edi + 0x10]
mov dword [eax + 0x58], 0x420900
mov esi, dword [edi + 0x10]
push 0
xor ecx, ecx
xor eax, eax
mov ebx, edi
call fcn.0041d1d0
add esp, 4
mov esi, edi
call fcn.0041d530
mov esi, dword [edi + 0x10]
push 0
mov ecx, 1
xor eax, eax
call fcn.0041d1d0
lea ecx, [esp + 0x3c]
add esp, 4
mov eax, str.import_preload_
push ecx
mov edx, 0x4207e0
mov ecx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0xf
call fcn.0041d140
add esp, 4
test eax, eax
jne 0x42241a
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 0x41d0c0
xor edx, edx
mov eax, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], 0xffffffff
call fcn.00430830
mov ecx, dword [edi + 0x14]
mov edx, dword [ebx]
add esp, 0xc
cmp edx, dword [ecx + 8]
jb 0x421abd
mov dword [ecx + 8], edx
test eax, eax
jne 0x42241a
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 0x430920
mov eax, edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x70], 0x4207e0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], 0x483acc
call fcn.00430830
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 0x42241a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x421b85
push eax
mov esi, edi
call fcn.0041c790
add esp, 4
push 0xffffd8f0
mov eax, edi
call fcn.00420400
add esp, 4
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x421b9b
mov ecx, dword [ebx]
mov dword [ecx + 8], eax
add dword [ebx], 0x10
mov edi, ebx
jmp 0x421be3
push edi
call fcn.00420810
add esp, 4
test eax, eax
jne 0x422392
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 0x41d0c0
xor edx, edx
mov eax, edi
mov dword [esp + 0x48], 1
call fcn.00430830
add esp, 0xc
test eax, eax
jne 0x42238e
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
inc eax
cmp eax, 0xc350
jg 0x421bfa
mov ecx, ebx
call fcn.0041c220
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
test cl, cl
je 0x421f63
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.0x421dac.67
movzx ecx, byte [ecx + 0x42247c]
jmp dword [ecx*4 + 0x422440]
fild dword [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421f44
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 0x421c76
fadd qword [0x4863d8]
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421f48
mov ecx, dword [ebx + 4]
add ebx, 4
add esi, 4
mov dword [esp + 0x10], esi
test ecx, ecx
jne 0x421c9f
mov ecx, dword [edi]
mov dword [ecx + 8], 0
jmp 0x421f48
mov edx, dword [edi]
mov dword [edx], ecx
mov dword [edx + 8], 2
jmp 0x421f48
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 0x421f44
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 0x421f44
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 0x421f44
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 0x421f44
fild qword [esi + 8]
mov ecx, dword [edi]
add esi, 8
add ebx, 8
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421f44
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add esi, 8
push eax
add ebx, 8
push ecx
jmp 0x421ee0
mov ecx, dword [edi]
fld dword [ebx + 4]
add esi, 4
fstp qword [ecx]
add ebx, 4
mov dword [ecx + 8], eax
jmp 0x421f44
mov ecx, dword [edi]
fld qword [esi + 8]
add esi, 8
fstp qword [ecx]
add ebx, 8
mov dword [ecx + 8], eax
jmp 0x421f44
mov ecx, dword [edi]
xor edx, edx
add ebx, 4
add esi, 4
cmp dword [ebx], edx
setne dl
jmp 0x421f3b
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx + edx]
inc dword [esp + 0x20]
add ecx, 0xffffffbe
cmp ecx, 0x37
ja case.0x421dac.67
movzx edx, byte [ecx + 0x42250c]
jmp dword [edx*4 + 0x4224d0]
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 0x421f44
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 0x421c66
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
add dword [esp + 0x10], 4
add ebx, 4
push eax
call fcn.0041c790
mov esi, dword [esp + 0x14]
add esp, 4
mov eax, 3
jmp case.0x421dac.67
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x14]
add ebx, 4
add esi, 4
call fcn.0041c8d0
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.0041c8d0
mov eax, 3
jmp case.0x421dac.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 0x421f44
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 0x421f44
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 0x421f44
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 0x421f44
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 0x421f44
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.004467d0
add esp, 8
mov eax, 3
jmp case.0x421dac.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 0x421f44
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 0x421f44
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 0x421c28
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 0x41d0c0
xor edx, edx
mov eax, ebx
mov dword [esp + 0x48], esi
call fcn.00430830
add esp, 0xc
cmp esi, 0xffffffff
jne 0x421fa7
mov ecx, dword [ebx + 0x14]
mov edx, dword [edi]
cmp edx, dword [ecx + 8]
jb 0x421fa7
mov dword [ecx + 8], edx
xor esi, esi
cmp eax, esi
je 0x421ff9
push str.RAW_CALLBACK_ERROR
mov eax, ebx
call fcn.0041dcf0
mov ecx, dword [esp + 0x28]
mov eax, ecx
add esp, 4
shl eax, 4
cmp ecx, esi
jl 0x421fef
mov edx, dword [ebx + 0xc]
add edx, eax
cmp dword [edi], edx
jae 0x421fe3
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 0x421fd2
mov edx, dword [ebx + 0xc]
add edx, eax
mov dword [edi], edx
jmp 0x42234b
add eax, 0x10
add dword [edi], eax
jmp 0x42234b
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.0041c1a0
cmp eax, 0x482990
jne 0x42201b
or eax, 0xffffffff
jmp 0x42201e
mov eax, dword [eax + 8]
dec eax
je 0x42208d
sub eax, 2
je 0x422081
sub eax, 4
jne 0x422072
push 0x483fd4
push 0x483ae4
mov eax, esi
mov ecx, ebx
call fcn.0041ee40
add esp, 8
test eax, eax
je 0x422072
mov eax, esi
mov ecx, ebx
call fcn.0041c1a0
cmp dword [eax + 8], 7
jne 0x422065
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add eax, 0x18
mov dword [esp + 0x40], ecx
jmp 0x4220c7
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
jmp 0x4220c7
push 0
push 1
push esi
call fcn.00420950
add esp, 0xc
jmp 0x4220c2
push esi
push ebx
call fcn.0041c580
add esp, 8
jmp 0x4220c2
mov eax, esi
mov ecx, ebx
call fcn.0041c1a0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4220c0
cmp ecx, 1
jne 0x4220a7
cmp dword [eax], 0
je 0x4220c0
cmp ecx, 3
jne 0x4220b9
fld qword [eax]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4220c0
mov eax, 1
jmp 0x4220c2
xor eax, eax
cdq
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x20]
test edx, edx
je 0x422347
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 0x422347
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.0x422156.67
movzx ecx, byte [eax + 0x422554]
jmp dword [ecx*4 + 0x422544]
add ebx, 4
jmp case.0x422156.67
add ebx, 8
jmp case.0x422156.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.0x422156.67
movzx eax, byte [eax + 0x4225d8]
jmp dword [eax*4 + 0x4225a8]
mov ecx, dword [esp + 0x14]
push esi
push ecx
call fcn.0041c580
mov edx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov dword [edx], eax
jmp case.0x422156.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c1a0
cmp dword [eax + 8], 2
jne 0x422190
mov eax, dword [eax]
jmp 0x422328
xor eax, eax
jmp 0x422328
mov ecx, dword [esp + 0x14]
mov eax, esi
add ebx, 4
call fcn.0041c1a0
cmp dword [eax + 8], 4
je 0x4221e7
mov edi, dword [esp + 0x14]
mov esi, eax
call fcn.0042c910
test eax, eax
jne 0x4221c2
mov edi, dword [esp + 0x1c]
xor esi, esi
jmp 0x4221ec
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [eax + 0x40]
jb 0x4221d8
mov eax, esi
call fcn.0042c6e0
mov eax, dword [esp + 0x2c]
mov ecx, esi
call fcn.0041c1a0
mov edi, dword [esp + 0x1c]
mov esi, dword [eax]
add esi, 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
call fcn.0041c6a0
push eax
mov eax, dword [ebx]
push esi
push eax
call fcn.00465600
add esp, 0xc
jmp case.0x422156.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.0041c440
mov ecx, esi
call fcn.004238c0
mov edx, dword [esp + 0x10]
push eax
push 0
push edx
call fcn.00465490
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, esi
call fcn.00424310
add dword [edi], 0xfffffff0
jmp case.0x422156.67
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.0041c580
mov ecx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov byte [ecx], al
jmp case.0x422156.67
mov edx, dword [esp + 0x14]
push esi
push edx
call fcn.0041c580
mov ecx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov word [ecx], ax
jmp case.0x422156.67
mov ecx, dword [esp + 0x14]
push 0x483fd4
push 0x483ae4
mov eax, esi
call fcn.0041ee40
add esp, 8
test eax, eax
je case.0x422156.108
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c710
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.0x422156.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c530
call fcn.00476c36
mov ecx, dword [ebx + 4]
add ebx, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x422156.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c530
fstp qword [esp + 0x38]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x38]
add ebx, 4
mov dword [edx], eax
jmp case.0x422156.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c530
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.0x422156.67
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.0041c5f0
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 0x422100
mov ecx, dword [esp + 0x24]
test ecx, ecx
js 0x4223ed
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 0x422385
jmp 0x422370
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 0x422370
mov edx, dword [eax + 0xc]
add edx, ecx
mov dword [edi], edx
jmp 0x4223fd
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx]
sub esi, 0x10
cmp dword [esi + 8], 4
je 0x4223c1
call fcn.0042c910
test eax, eax
jne 0x4223aa
xor esi, esi
jmp 0x4223c6
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [eax + 0x40]
jb 0x4223bc
mov eax, edi
call fcn.0042c6e0
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.0045cce5
add eax, 0x40
push eax
call fcn.0045c50e
mov edi, dword [esp + 0x2c]
add esp, 0x10
jmp 0x422353
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 0x422409
call fcn.004211e0
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.0041dcf0
add esp, 4
mov eax, edi
call fcn.004211e0
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 8